note 11354 added to pg_connect
| From: | rick at rickterrill dot com | Date: | Sat, 17 Feb 2001 17:44:22 +0000 |
| Subject: | note 11354 added to pg_connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11184@lists.php.net to get a copy of this message | ||
The multiple pg_connect bug is easily avoidable by passing your connection link around from function
to function. This is probably preferrable, because it avoids making redundant (and often unclosed)
connections to the db which will increase performance, etc.
I noticed the "...syntax has been deprecated" note above (with out any elaboration to what
the preferred alternative is ;), I wonder if they're changing the way php connects to db's
(generic connection interface please!)?
http://www.php.net/manual/en/function.pg-connect.php