Re: PostgreSQL and transactions.

From: Date: Mon, 08 Oct 2001 15:09:49 +0000
Subject: Re: PostgreSQL and transactions.
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-13113@lists.php.net to get a copy of this message
On Mon, 8 Oct 2001, Paul Cooper wrote: > Above you have used pg_pconnect() which is a persistent connection, so it > should return the same connection within the script. Theoretically if you > use pg_connect it should do what you want - but you don't seem to need 2 > connections (unless i'm missing something). > Yup, using pg_pconnect() was an error, but even if I use pg_connect() it will only create one connection... My worst fear was that two simultaneous hits would get the same connection. -- Morten Bruun

« previous php.db (#13113) next »