pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: scott.marlowe <scott.marlowe@ihs.com>
To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: Raphael Bauduin <raphael.bauduin@be.easynet.net>
Cc: David Busby <busby@pnts.com>
Cc: pgsql-php@postgresql.org
Subject: Re: Number of connections
Date: Fri, 23 May 2003 09:58:32 -0600 (MDT)
Message-ID: <Pine.LNX.4.33.0305230958030.27073-100000@css120.ihs.com> (raw)
In-Reply-To: <15ff01c320d0$e89bb1f0$6500a8c0@fhp.internal>

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.




view thread (9+ messages)  latest in thread

Message-ID: <Pine.LNX.4.33.0305230958030.27073-100000@css120.ihs.com>
Permalink:  ../Pine.LNX.4.33.0305230958030.27073-100000@css120.ihs.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.33.0305230958030.27073-100000@css120.ihs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: scott.marlowe@ihs.com, chriskl@familyhealth.com.au, raphael.bauduin@be.easynet.net, busby@pnts.com
  Subject: Re: Number of connections
  In-Reply-To: <Pine.LNX.4.33.0305230958030.27073-100000@css120.ihs.com>
  References: <15ff01c320d0$e89bb1f0$6500a8c0@fhp.internal> <Pine.LNX.4.33.0305230958030.27073-100000@css120.ihs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox