php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7536 Warning: is not a valid PostgreSQL link resource xxxx
Submitted: 2000-10-30 14:12 UTC Modified: 2001-02-13 12:11 UTC
From: norman at norman dot com dot br Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 4.0.3pl1 OS: Linux i386 k 2.2.16
Private report: No CVE-ID: None
 [2000-10-30 14:12 UTC] norman at norman dot com dot br
I have some include()d functions that calls pg_connect() and pg_close(). If I call two functions (two different or two times the same), any pg_xxxx() at the second function will generate the "Warning: is not a valid PostgreSQL link resource xxxx". Or, if I call one of these functions with some pg_connect() at the main code, this second pg_connect() will generate the warning too.
This SAME CODE runs without problems in 4.0.2
My configure command for 4.0.3pl1 (the same I used with 4.0.2) was: './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-config-file-path=/usr/local/apache/conf' '--enable-versioning' '--with-mysql=/usr/local/mysql' '--with-pgsql=/usr/local/pgsql' '--enable-ftp' '--with-gd=../gd1.3' '--enable-bcmath=yes' '--disable-debug' '--enable-memory-limit=yes' '--enable-track-vars' 
I have tested with the standard php.ini file.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-13 12:11 UTC] thies@php.net
believed to be fixed in CVS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 22:01:28 2024 UTC