From 22f3f5b3a18412802db2157acac91bfe8400b2a8 Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Thu, 24 Jan 2002 10:02:51 +0000 Subject: [PATCH] Fixed description. connection string is recommended parameter for pg_connect/ pg_pconnect. To make a new connection, using a slightly different connection string is enough with connection string. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@68543 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/pgsql.xml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/functions/pgsql.xml b/functions/pgsql.xml index 6821f18614..3006f38ed3 100644 --- a/functions/pgsql.xml +++ b/functions/pgsql.xml @@ -1,5 +1,5 @@ - + PostgreSQL functions PostgreSQL @@ -336,7 +336,7 @@ $dbconn4 = pg_connect ($conn_string); new connection will be established, but instead, the connection resource of the already opened connection will be returned. You can have multiple connections to the same database if you use - different connection parameters. (i.e. Use different username) + different connection string. Syntax supports multiple parameters: @@ -1530,7 +1530,7 @@ for ($i=0; $i < $num; $i++) { password. - Using pg_connect + Using pg_pconnect Multiple parameters syntax for pg_pconnect