PHP 4.0 Bug #9123: Multiple pg_connect or a pg_connect with multiple pg_pconnects breaks
| From: | joelink at joelink dot net | Date: | Tue, 06 Feb 2001 01:15:05 +0000 |
| Subject: | PHP 4.0 Bug #9123: Multiple pg_connect or a pg_connect with multiple pg_pconnects breaks | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45825@lists.php.net to get a copy of this message | ||
From: joelink@joelink.net
Operating system: Linux 2.2.18
PHP version: 4.0.4pl1
PHP Bug Type: PostgreSQL related
Bug description: Multiple pg_connect or a pg_connect with multiple pg_pconnects breaks
First off... none of these problems existed with 4.0.2
Multiple pg_pconnect per page works fine
Multiple pg_connect per page fails with an invalid link resource error.
a SINGLE pg_connect with multiple pg_pconnect fails with same error.
There error is reported upon accessing a pg_connect'ed connection (NOT the pg_pconnect) and
looks as follows
Warning: 5 is not a valid PostgreSQL link resource in ....
Joe
--
Edit Bug report at: http://bugs.php.net/?id=9123&edit=1