★ wanayoo — archive 1999 http://www.php.net/manual/function.pg-freeresult.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to PostgreSQL
Quick Reference
German version of this pageJapanese version of this pageItalian version of this pageFrench version of this pageHungarian version of this page
PostgreSQL
* pg_close
* pg_cmdtuples
* pg_connect
* pg_dbname
* pg_errormessage
* pg_exec
* pg_fetch_array
* pg_fetch_object
* pg_fetch_row
* pg_fieldisnull
* pg_fieldname
* pg_fieldnum
* pg_fieldprtlen
* pg_fieldsize
* pg_fieldtype
* pg_freeresult
* pg_getlastoid
* pg_host
* pg_loclose
* pg_locreate
* pg_loexport
* pg_loimport
* pg_loopen
* pg_loread
* pg_loreadall
* pg_lounlink
* pg_lowrite
* pg_numfields
* pg_numrows
* pg_options
* pg_pconnect
* pg_port
* pg_result
* pg_trace
* pg_tty
* pg_untrace
Manual: pg_freeresult
View the source code for this pageSearch the site



Previous page
 pg_fieldtype
 Updated
Sat, 12 Aug 2000
pg_getlastoid 
Next page


pg_freeresult

(PHP3 , PHP4 )

pg_freeresult -- Free reult memory

Description

int pg_freeresult (int result_id)

Pg_freeresult() 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 need the result data anymore in a script, you may call pg_freeresult() with the result identifier as an argument and the associated result memory will be freed.


User Contributed Notes: pg_freeresult


jones12ax7@linuxbr.com.br
24-Apr-2000 04:34
I got troubles when using pg_freeresult() with
3.0.11 that comes with Suse 6.2. I got "documment contains no data"
I don't know if it has a bug , but be careful
with this configuration. ;-)



 About Notes


Previous page
 pg_fieldtype
 Updated
Sat, 12 Aug 2000
pg_getlastoid 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.