mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
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:
parent
42fe462978
commit
6d3f2a5014
1 changed files with 0 additions and 39 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue