php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11229 1 is not valid postgresql link resource
Submitted: 2001-05-31 19:22 UTC Modified: 2001-08-19 02:49 UTC
From: jon dot romalo at compeng dot net Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 4.0.4pl1 OS: RedHat 6.2 kernel v 2.2.17-14
Private report: No CVE-ID: None
 [2001-05-31 19:22 UTC] jon dot romalo at compeng dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-31 23:23 UTC] sniper@php.net
Duplicate of #10153

 [2001-08-19 02:49 UTC] sniper@php.net
The bug report this one was duplicate of is closed.
Please check #10153 for more information.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 22:01:31 2024 UTC