diff options
Diffstat (limited to 'it_dbi_postgres.class')
-rw-r--r-- | it_dbi_postgres.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_dbi_postgres.class b/it_dbi_postgres.class index 2483ab9..73c76f2 100644 --- a/it_dbi_postgres.class +++ b/it_dbi_postgres.class @@ -96,7 +96,7 @@ function _escape_name($str) } function _connect_db($p) { - $result = @pg_connect("host=$p[server] user=$p[user] dbname=$p[db] password=$p[pw]"); + $result = @pg_connect("host=$p[server] user=$p[user] dbname=$p[db] password=$p[pw]", PGSQL_CONNECT_FORCE_NEW); if ($result) { |