PHP 4.0 Bug #7536 Updated: Warning: is not a valid PostgreSQL link resource xxxx
| From: | thies@php.net | Date: | Tue, 13 Feb 2001 17:11:26 +0000 |
| Subject: | PHP 4.0 Bug #7536 Updated: Warning: is not a valid PostgreSQL link resource xxxx | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-46495@lists.php.net to get a copy of this message | ||
ID: 7536
Updated by: thies
Reported By: norman@norman.com.br
Old-Status: Open
Status: Closed
Bug Type: PostgreSQL related
Assigned To:
Comments:
believed to be fixed in CVS
Previous Comments:
---------------------------------------------------------------------------
[2000-10-30 14:12:54] norman@norman.com.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.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=7536&edit=2