cvs: phpdoc /en/functions pgsql.xml

From: Date: Thu, 11 Apr 2002 01:24:21 +0000
Subject: cvs: phpdoc /en/functions pgsql.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969344280@lists.php.net to get a copy of this message
yohgaki Wed Apr 10 21:24:21 2002 EDT Modified files: /phpdoc/en/functions pgsql.xml Log: Fixed pg_last_error description. Index: phpdoc/en/functions/pgsql.xml diff -u phpdoc/en/functions/pgsql.xml:1.86 phpdoc/en/functions/pgsql.xml:1.87 --- phpdoc/en/functions/pgsql.xml:1.86 Wed Apr 10 21:11:12 2002 +++ phpdoc/en/functions/pgsql.xml Wed Apr 10 21:24:17 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.86 $ --> +<!-- $Revision: 1.87 $ --> <reference id="ref.pgsql"> <title>PostgreSQL functions</title> <titleabbrev>PostgreSQL</titleabbrev> @@ -707,11 +707,18 @@ <methodparam><type>resource</type><parameter>connection</parameter></methodparam> </methodsynopsis> <para> - <function>pg_last_error</function> returns the last error - message for given <parameter>connection</parameter>. Error messages - may be overwritten by calls to other PostgreSQL functions, so make - sure you call <function>pg_last_error</function> before any other - PostgreSQL functions. + <function>pg_last_error</function> returns the last error message + for given <parameter>connection</parameter>. + </para> + <para> + Error messages may be overwritten by internal PostgreSQL(libpq) + function calls. It may not return appropriate error message, if + multiple errors are occured inside a PostgreSQL module function. + </para> + <para> + Use <function>pg_result_error</function>, + <function>pg_result_status</function> and + <function>pg_connection_status</function> for better error handling. </para> <note> <para> @@ -719,7 +726,7 @@ </para> </note> <para> - See also <function>pg_result_error_message</function>. + See also <function>pg_result_error</function>. </para> </refsect1> </refentry>

« previous php.doc (#969344280) next »