RES: [imp] Still Postgres Persistent Conections problems
Rich Lafferty
rich@horde.org
Wed, 14 Mar 2001 19:36:43 -0500
On Wed, Mar 14, 2001 at 09:03:45PM -0300, Alexander E. Belck (alexb@iol.psi.br) wrote:
>
> PS. So far I understood from the related messages, the usage of the
> conection string and not the database handle by PHP/Postgres cause the
> errors when I change the pg_pconnect() to pg_connect() ?
The bug is that PHP closes the wrong connections when a database
connection falls out of scope (autocloses); pg_pconnect doesn't have
that bug because it doesn't autoclose.
-Rich
--
------------------------------ Rich Lafferty ---------------------------
Sysadmin/Programmer, Instructional and Information Technology Services
Concordia University, Montreal, QC (514) 848-7625
------------------------- rich@alcor.concordia.ca ----------------------