note 18898 added to function.pg-pconnect
| From: | garrett at bgb dot cc | Date: | Fri, 08 Feb 2002 21:39:57 +0000 |
| Subject: | note 18898 added to function.pg-pconnect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-26394@lists.php.net to get a copy of this message | ||
If a transaction is in progress when page processing ends, is it aborted before the connection
placed bak in the pool? Or is the connection added "as is"?
It would seem that the correct thing to do is to always 'ABORT' before adding to the pool.
As a note, this would be a good time to check and see if the connection is still open before
readding it. Thus allowing closed connections to be cleaned up over time, instead of hanging around
for ever as they do now.
--
http://www.php.net/manual/en/function.pg-pconnect.php
http://master.php.net/manage/user-notes.php?action=edit+18898
http://master.php.net/manage/user-notes.php?action=delete+18898
http://master.php.net/manage/user-notes.php?action=reject+18898