Remove duplicate pg_connect()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@32487 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Rasmus Lerdorf 2000-09-11 18:05:18 +00:00
parent 42fe462978
commit 6d3f2a5014

View file

@ -1034,45 +1034,6 @@ for ($i=0; $i<$num; $i++) {
</refsect1>
</refentry>
<refentry id="function.pg-connect">
<refnamediv>
<refname>pg_connect</refname>
<refpurpose>Open a PostgreSQL connection</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>pg_connect</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 <parameter>conn_string</parameter> should be 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 deprecated.
</para>
<para>
See also <function>pg_connect</function>.
</para>
</refsect1>
</refentry>
<refentry id="function.pg-port">
<refnamediv>
<refname>pg_port</refname>