From 75965cf3bf68dfaf2ecaf9053734a9292ecef870 Mon Sep 17 00:00:00 2001 From: Ron Chmara Date: Mon, 11 Sep 2000 22:05:49 +0000 Subject: [PATCH] s/deprecated/depreciated/ (they weren't *that* bad) re-added pg_pconnect git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@32521 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/pgsql.xml | 44 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/functions/pgsql.xml b/functions/pgsql.xml index 5264c8124a..7072d3bbb0 100644 --- a/functions/pgsql.xml +++ b/functions/pgsql.xml @@ -74,7 +74,7 @@ $conn = pg_connect ("host", "port", "options", "tty", "dbname") - has been deprecated. + has been depreciated. To use the large object (lo) interface, it is necessary to enclose @@ -208,7 +208,7 @@ $dbconn3 = pg_Connect ("user=lamb passwd=baaaa dbname=mary "); $conn = pg_connect ("host", "port", "options", "tty", "dbname") - has been deprecated. + has been depreciated. See also pg_pconnect. @@ -1062,6 +1062,46 @@ for ($i=0; $i<$num; $i++) { + + + pg_pconnect + Open a persistant PostgreSQL connection + + + Description + + + int pg_pconnect + string conn_string + + + + Returns a connection index on success, or false if the connection + could not be made. Opens a connection to a PostgreSQL database. + The arguments should be within a quoted string. + The arguments available include dbname + port, host, + tty, options, + user, and password + + + This function returns a connection index that is needed by other + PostgreSQL functions. You can have multiple connections open at + once. + + + The previous syntax of: + $conn = pg_pconnect ("host", "port", "options", "tty", + "dbname") + + has been depreciated. + + + See also pg_connect. + + + + pg_port