Bug #12724 Updated: persistent connections with postgres
| From: | peter at abistar dot com | Date: | Mon, 13 Aug 2001 21:27:37 +0000 |
| Subject: | Bug #12724 Updated: persistent connections with postgres | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63115@lists.php.net to get a copy of this message | ||
ID: 12724
User updated by: peter@abistar.com
Reported By: peter@abistar.com
Status: Open
Old Bug Type: Unknown/Other Function
Bug Type: PostgreSQL related
Operating System: Linux (RH 7.1)
PHP Version: 4.0.4pl1
New Comment:
I rechecked the bug database and there are other reports which seem to complain about the same
problem.
When my web page performs a pconnect it should connect to the previous process, if the process has
been callesd with the same parameters (dbname, name, password, port).
I am running phpgroupware, and the php interpreter generated new connections (processes) when there
were idle ones around.
Previous Comments:
------------------------------------------------------------------------
[2001-08-13 15:15:14] peter@abistar.com
I created a persistent connection to postgres (7.03).
I establish a connection for every page opened.
This in turn creates a new process (ps -aux|grep postgres)
which it should not.
I pass the connection parameters as one string. (I printed the string out to make sure it did not
change);
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12724&edit=1