I just use pg_connect, with the same connection string for persistant connections and have no problems. But that is not a answer ;-) RH 7.2, PHP 4.0.6, pg 7.1.3 On Mon, 28 Jan 2002, Chris Ruprecht wrote: > Hi all, > > I am under the assumtion that, when I do a pg_pconnect instead of a > pg_connect, the connection to the db I have established, can be used > by another PHP procedure. Somehow, I don't see this working the way I > expect it. > When I initially connect with pconnect, I see a postgres session > staring up and everything works. The postgres process stays active > but when I pconnect again, a second process is started. I was > expecting that the same process from the first pconnect will be used. > At the end, I land up with a whole bunch of postgres client sessions > hanging around in the system, doing who knows what. > > What am I missing (doing wrong) here? > Postgres = 7.1.3, OS = Linux 2.4.9 (RedHat 7.2), PHP = 4.0.6, Apache > = 1.3.22, memory = plenty (768 MB) > > Best regards, > Chris > -- > Chris Ruprecht > Network grunt and bit pusher extraordinaíre > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@xxxxxxxxxxxxxx > -- > Virus scanned by edNET. > -- Chris Thompson lightershade t: +44 131 466 7003 d: +44 131 625 5603 -- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. Any offers or quotation of service are subject to formal specification. Errors and omissions excepted. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of edNET or lightershade ltd. Finally, the recipient should check this email and any attachments for the presence of viruses. edNET and lightershade ltd accepts no liability for any damage caused by any virus transmitted by this email. -- -- Virus scanned by edNET.