Re: Number of connections

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Raphael Bauduin" <raphael(dot)bauduin(at)be(dot)easynet(dot)net>, "David Busby" <busby(at)pnts(dot)com>
Cc: <pgsql-php(at)postgresql(dot)org>
Subject: Re: Number of connections
Date: 2003-05-23 02:13:30
Message-ID: 15ff01c320d0$e89bb1f0$6500a8c0@fhp.internal
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

> 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.

Chris

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Christopher Kings-Lynne 2003-05-23 05:55:38 phpPgAdmin 3.0 Beta 1 Released
Previous Message scott.marlowe 2003-05-19 15:37:03 Re: Number of connections