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