fixed #12863. added return values for pg_freeresult. Also changed file permissions

from 0444 to 0644.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@64876 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jan Lehnardt 2001-12-12 22:37:33 +00:00
parent 7c88782195
commit a5bea797bc

View file

@ -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 @@ for ($i=0; $i < $num; $i++) {
<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>.