vrana           Fri Sep 17 09:37:25 2004 EDT

  Modified files:              
    /phpdoc/en/reference/pgsql/functions        pg-connect.xml pg-pconnect.xml 
  Log:
  connect_type parameter (bug #27824)
  
http://cvs.php.net/diff.php/phpdoc/en/reference/pgsql/functions/pg-connect.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/pgsql/functions/pg-connect.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-connect.xml:1.4 
phpdoc/en/reference/pgsql/functions/pg-connect.xml:1.5
--- phpdoc/en/reference/pgsql/functions/pg-connect.xml:1.4      Wed Jul 16 05:20:01 
2003
+++ phpdoc/en/reference/pgsql/functions/pg-connect.xml  Fri Sep 17 09:37:25 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -->
   <refentry id="function.pg-connect">
    <refnamediv>
@@ -11,6 +11,7 @@
     <methodsynopsis>
      <type>resource</type><methodname>pg_connect</methodname>
      
<methodparam><type>string</type><parameter>connection_string</parameter></methodparam>
+     <methodparam 
choice="opt"><type>int</type><parameter>connect_type</parameter></methodparam>
     </methodsynopsis>
     <para>
      <function>pg_connect</function> returns a connection resource
@@ -54,7 +55,9 @@
     <para>
      If a second call is made to <function>pg_connect</function> with
      the same <parameter>connection_string</parameter>, no
-     new connection will be established, but instead, the connection
+     new connection will be established unless you pass
+     <constant>PGSQL_CONNECT_FORCE_NEW</constant> as
+     <parameter>connect_type</parameter>, 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 strings.
http://cvs.php.net/diff.php/phpdoc/en/reference/pgsql/functions/pg-pconnect.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/pgsql/functions/pg-pconnect.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-pconnect.xml:1.4 
phpdoc/en/reference/pgsql/functions/pg-pconnect.xml:1.5
--- phpdoc/en/reference/pgsql/functions/pg-pconnect.xml:1.4     Sun Jan 12 23:48:03 
2003
+++ phpdoc/en/reference/pgsql/functions/pg-pconnect.xml Fri Sep 17 09:37:25 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.82 -->
   <refentry id="function.pg-pconnect">
    <refnamediv>
@@ -11,6 +11,7 @@
     <methodsynopsis>
      <type>resource</type><methodname>pg_pconnect</methodname>
      
<methodparam><type>string</type><parameter>connection_string</parameter></methodparam>
+     <methodparam 
choice="opt"><type>int</type><parameter>connect_type</parameter></methodparam>
     </methodsynopsis>
     <para>
      <function>pg_pconnect</function> opens a connection to a

Reply via email to