Hi!
I get this error message, when I to connect using Postgres 9.3
I did this
// set up DB
$db_conf = array();
$db_conf["type"] = "postgres"; // mysql,oci8(for oracle),mssql,postgres,sybase
$db_conf["server"] = "localhost:5432";
$db_conf["user"] = "postgres";
$db_conf["password"] = "abc2014";
$db_conf["database"] = "kpi";
// set your db encoding — for ascent chars (if required)
//mysql_query("SET NAMES 'utf8'");
// include and create object
include("inc/jqgrid_dist.php");
$g = new jqgrid();
// set few params
$grid["caption"] = "Sample Grid";
$grid["multiselect"] = true;
$g->set_options($grid);
// set database table for CRUD operations
$g->table = "r_transformation";
I tried using standard connection test, it works.
<?php
include 'adodb5/adodb.inc.php';
$host = 'localhost';
$user = 'postgres';
$pass = 'abc2014';
$dbname = 'kpi';
$conn1 = &ADONewConnection('postgres');
$conn1->PConnect($host, $user, $pass, $dbname);
?>
Thank you.
Regards.
David
PS: i am using the free version