![]() | pg_free_result说明bool pg_free_result ( resource result )pg_free_result() 仅在当你担心脚本执行时占用了过多内存时调用。脚本执行完毕后所有的查询结果占用的内存都会被自动释放。不过如果你确认在脚本中不会再用到查询结果了,你可以用 result 作为参数调用 pg_free_result() 来释放有关的内存。如果成功则返回 TRUE,失败则返回 FALSE。
参见 pg_query()。 ![]() There are no user contributed notes for this page. | ![]() |