PostgreSQL / pg_pconnect()

From: Date: Thu, 19 Oct 2000 17:29:52 +0000
Subject: PostgreSQL / pg_pconnect()
Groups: php.db 
Request: Send a blank email to php-db+get-3802@lists.php.net to get a copy of this message
Has anyone else run into strange and unexplained happenings while using pg_pconnect()? They've been few and far between until now with PG 7.0.2 and PHP 4.0.3pl1.. The problems are mainly with cookies believe it or not -- they're being randomly deleted when I use pg_pconnect but as soon as I start using pg_connect() the cookies are fine. I've poked around but haven't found any documentation on any known bugs with pg_pconnect so if anyone has information, please let me know. This morning I had trouble with pg_connect() though -- it seemed on one connect and query the connection would seem to fail but pg_connect was still returning a valid connection index.. Warning: 1 is not a valid PostgreSQL link resource in /usr/site/php/classes/db_pgsql.inc on line 64 Warning: 1 is not a valid PostgreSQL link resource in /usr/site/php/classes/db_pgsql.inc on line 67 1 should be a valid index! I've restarted Apache, PostgreSQL and even went so far as to ruin my uptime and reboot to make sure everything was restarted -- it was all for not, same problems.. I've gone back to pg_pconnect for now and haven't seen the cookie bug yet but it has always been intermittent.. If anyone has any ideas, please share them with me.. This box is running Gentus Linux, kernel 2.2.16 (SMP).... Thanks! -Mitch "I'd change the world if God would just give me the source code."

« previous php.db (#3802) next »