cvs: phpdoc /en/functions pgsql.xml

From: Date: Fri, 07 Dec 2001 21:32:41 +0000
Subject: cvs: phpdoc /en/functions pgsql.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969339540@lists.php.net to get a copy of this message
jimw Fri Dec 7 16:32:41 2001 EDT Modified files: /phpdoc/en/functions pgsql.xml Log: pg_getlastoid: according to the source, it returns false for invalid oids Index: phpdoc/en/functions/pgsql.xml diff -u phpdoc/en/functions/pgsql.xml:1.49 phpdoc/en/functions/pgsql.xml:1.50 --- phpdoc/en/functions/pgsql.xml:1.49 Mon Dec 3 16:58:59 2001 +++ phpdoc/en/functions/pgsql.xml Fri Dec 7 16:32:40 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.49 $ --> +<!-- $Revision: 1.50 $ --> <reference id="ref.pgsql"> <title>PostgreSQL functions</title> <titleabbrev>PostgreSQL</titleabbrev> @@ -785,13 +785,12 @@ </funcsynopsis> <para> <function>pg_getlastoid</function> can be used to retrieve the - <varname>oid</varname> assigned to an inserted tuple if the - result identifier is used from the last command sent via - <function>pg_exec</function> and was an SQL INSERT. This - function will return a positive integer if there was a valid - <varname>oid</varname>. It will return -1 if an error occured or - the last command sent via <function>pg_exec</function> was not an - INSERT. + <varname>oid</varname> assigned to an inserted tuple if the result + identifier is used from the last command sent via + <function>pg_exec</function> and was an SQL INSERT. Returns a positive + integer if there was a valid <varname>oid</varname>. It returns &false; + if an error occurs or the last command sent via + <function>pg_exec</function> was not an INSERT. </para> </refsect1> </refentry>

« previous php.doc (#969339540) next »