Bug #11229 Updated: 1 is not valid postgresql link resource
| From: | sniper@php.net | Date: | Sun, 19 Aug 2001 06:49:49 +0000 |
| Subject: | Bug #11229 Updated: 1 is not valid postgresql link resource | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63663@lists.php.net to get a copy of this message | ||
ID: 11229
Updated by: sniper
Reported By: jon.romalo@compeng.net
Old Status: Duplicate
Status: Closed
Bug Type: PostgreSQL related
Operating System: RedHat 6.2 kernel v 2.2.17-14
PHP Version: 4.0.4pl1
New Comment:
The bug report this one was duplicate of is closed.
Please check #10153 for more information.
Previous Comments:
------------------------------------------------------------------------
[2001-05-31 23:23:31] sniper@php.net
Duplicate of #10153
------------------------------------------------------------------------
[2001-05-31 19:22:16] jon.romalo@compeng.net
This may be the identical to bug #10153.
In a page with about 10 calls to a postgresql database, some of the calls would work and some would
fail with the error "1 is not a valid postgresql link resource in file ..." where 1 is the
refcount value. The calls seemed to work or fail at random, each time I reloaded the page. It seems
as though a max number of processes was being encountered.
Changing from a pg_connect to a pg_pconnect (persistent connection) fixed the problem.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=11229&edit=1