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
This commit is contained in:
Ron Chmara 2000-09-11 22:05:49 +00:00
parent 6cf5461ee9
commit 75965cf3bf

View file

@ -74,7 +74,7 @@
<command>$conn = pg_connect ("host", "port", "options", "tty",
"dbname")
</command>
has been deprecated.
has been depreciated.
</para>
<para>
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 ");
<command>$conn = pg_connect ("host", "port", "options", "tty",
"dbname")
</command>
has been deprecated.
has been depreciated.
</para>
<para>
See also <function>pg_pconnect</function>.
@ -1062,6 +1062,46 @@ for ($i=0; $i&lt;$num; $i++) {
</refsect1>
</refentry>
<refentry id="function.pg-pconnect">
<refnamediv>
<refname>pg_pconnect</refname>
<refpurpose>Open a persistant PostgreSQL connection</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>pg_pconnect</function></funcdef>
<paramdef>string <parameter>conn_string</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
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 <parameter>dbname</parameter>
<parameter>port</parameter>, <parameter>host</parameter>,
<parameter>tty</parameter>, <parameter>options</parameter>,
<parameter>user</parameter>, and <parameter>password</parameter>
</para>
<para>
This function returns a connection index that is needed by other
PostgreSQL functions. You can have multiple connections open at
once.
</para>
<para>
The previous syntax of:
<command>$conn = pg_pconnect ("host", "port", "options", "tty",
"dbname")
</command>
has been depreciated.
</para>
<para>
See also <function>pg_connect</function>.
</para>
</refsect1>
</refentry>
<refentry id="function.pg-port">
<refnamediv>
<refname>pg_port</refname>