mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
7c88782195
commit
a5bea797bc
1 changed files with 5 additions and 4 deletions
|
@ -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>.
|
||||
|
|
Loading…
Reference in a new issue