cvs: phpdoc /en/functions pgsql.xml
| From: | Jan Lehnardt | Date: | Wed, 12 Dec 2001 22:37:34 +0000 |
| Subject: | cvs: phpdoc /en/functions pgsql.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969339689@lists.php.net to get a copy of this message | ||
jan Wed Dec 12 17:37:34 2001 EDT
Modified files:
/phpdoc/en/functions pgsql.xml
Log:
fixed #12863. added return values for pg_freeresult. Also changed file permissions
from 0444 to 0644.
Index: phpdoc/en/functions/pgsql.xml
diff -u phpdoc/en/functions/pgsql.xml:1.56 phpdoc/en/functions/pgsql.xml:1.57
--- phpdoc/en/functions/pgsql.xml:1.56 Wed Dec 12 15:47:18 2001
+++ phpdoc/en/functions/pgsql.xml Wed Dec 12 17:37:33 2001
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.56 $ -->
+<!-- $Revision: 1.57 $ -->
<reference id="ref.pgsql">
<title>PostgreSQL functions</title>
<titleabbrev>PostgreSQL</titleabbrev>
@@ -885,12 +885,13 @@
<para>
<function>pg_freeresult</function> only needs to be called if you
are worried about using too much memory while your script is
- running. All result memory will automatically be freed when the
- script is finished. But, if you are sure you are not going to
+ running. All result memory will automatically be freed when the
+ script is finished. But, if you are sure you are not going to
need the result data anymore in a script, you may call
<function>pg_freeresult</function> with the
<parameter>result</parameter> resource as an argument and the
- associated result memory will be freed.
+ associated result memory will be freed. It returns true on success
+ and false if an error occurs.
</para>
<para>
See also <function>pg_exec</function>.