pgsql; $params->type = "pgsql"; $params->prefix = 'create_'; $this->db = new Query_Builder($params); // echo '
Postgres Queries
'; } elseif (($var = getenv('CI'))) { $params = array( 'host' => '127.0.0.1', 'port' => '5432', 'database' => 'test', 'user' => 'postgres', 'pass' => '', 'type' => 'pgsql', 'prefix' => 'create' ); $this->db = new Query_Builder($params); } } // -------------------------------------------------------------------------- public function TestExists() { $this->assertTrue(in_array('pgsql', PDO::getAvailableDrivers())); } }