PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<pg_field_typepg_get_notify>
Last updated: Mon, 16 Jul 2012

pg_free_result

(PHP 4 >= 4.2.0, PHP 5)

pg_free_result -- 释放查询结果占用的内存

说明

bool pg_free_result ( resource result )

pg_free_result() 仅在当你担心脚本执行时占用了过多内存时调用。脚本执行完毕后所有的查询结果占用的内存都会被自动释放。不过如果你确认在脚本中不会再用到查询结果了,你可以用 result 作为参数调用 pg_free_result() 来释放有关的内存。如果成功则返回 TRUE,失败则返回 FALSE

注: 本函数以前的名字为 pg_freeresult()

参见 pg_query()




<pg_field_typepg_get_notify>
 Last updated: Mon, 16 Jul 2012
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST