PHP 4.0 Bug #7536: Warning: is not a valid PostgreSQL link resource xxxx

From: Date: Mon, 30 Oct 2000 19:12:54 +0000
Subject: PHP 4.0 Bug #7536: Warning: is not a valid PostgreSQL link resource xxxx
Groups: php.dev 
Request: Send a blank email to php-dev+get-36483@lists.php.net to get a copy of this message
From: norman@norman.com.br Operating system: Linux i386 k 2.2.16 PHP version: 4.0.3pl1 PHP Bug Type: PostgreSQL related Bug description: Warning: is not a valid PostgreSQL link resource xxxx 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. -- Edit Bug report at: http://bugs.php.net/?id=7536&edit=1

« previous php.dev (#36483) next »