Re: Number of connections - Mailing list pgsql-php

From scott.marlowe
Subject Re: Number of connections
Date
Msg-id Pine.LNX.4.33.0305230958030.27073-100000@css120.ihs.com
Whole thread Raw
In response to Re: Number of connections  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Responses Re: Number of connections
List pgsql-php
On Fri, 23 May 2003, Christopher Kings-Lynne wrote:

> > Maybe a stupid question, but I wondered if when using persisten
> > connection, I could be sure there would be no problem. From the doc,
> > currval  "Returns the value most recently obtained by nextval  for this
> > sequence in the current server process."
> >
> > Can you confirm me several script using the same persistent connection
> > in parallel are in separate server processes?
>
> PHP will execute 'begin; rollback;' to your connection before passing it to
> another PHP process, guaranteeing that unclosed transactions won't leak.

Didn't it used to not do that?  I remember posts about people having
issues with transaction bleedover back in the day.


pgsql-php by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: Number of connections
Next
From: "scott.marlowe"
Date:
Subject: Re: faster output from php and postgres