note 89465 added to features.persistent-connections
| From: | ynzhangfromlakeheaducanada at osu1 dot php dot net | Date: | Mon, 09 Mar 2009 18:49:38 +0000 |
| Subject: | note 89465 added to features.persistent-connections | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-151658@lists.php.net to get a copy of this message | ||
It seems that using pg_pconnect() will not persist the temporary views/tables. So if you are trying
to create temporary views/tables with the query results and then access them with the next script of
the same session, you are out of luck. Those temporary view/tables are gone after each PHP script
ended. One way to get around this problem is to create real view/table with session ID as part of
the name and record the name&creation time in a common table. Have a garbage collection script
to drop the view/table who's session is expired.
----
Server IP: 216.235.13.26
Probable Submitter: 96.52.26.173
----
Manual Page -- http://www.php.net/manual/en/features.persistent-connections.php
Edit -- https://master.php.net/note/edit/89465
Del: integrated -- https://master.php.net/note/delete/89465/integrated
Del: useless -- https://master.php.net/note/delete/89465/useless
Del: bad code -- https://master.php.net/note/delete/89465/bad+code
Del: spam -- https://master.php.net/note/delete/89465/spam
Del: non-english -- https://master.php.net/note/delete/89465/non-english
Del: in docs -- https://master.php.net/note/delete/89465/in+docs
Del: other reasons-- https://master.php.net/note/delete/89465
Reject -- https://master.php.net/note/reject/89465
Search -- https://master.php.net/manage/user-notes.php