Re: Persistent connections in PHP

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "Naz Gassiep" <naz(at)mira(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Persistent connections in PHP
Date: 2007-08-13 06:45:20
Message-ID: 162867790708122345m56645e4cpeb8ca457bfb09a81@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2007/8/13, Naz Gassiep <naz(at)mira(dot)net>:
> Hi,
> Does the connection pooling feature of PHP cause the persistent
> connections to keep the properties between accesses? E.g., if a user
> takes a connection, sets a timezone to it using SET TIMEZONE, will the
> next user who happens to take this connection get it in that same state,
> or will it be reset to a blank or starting state as though it had been
> opened? Also, what about temp tables? Will they be present to the second
> user if the first user set some up?
> - Naz.
>

Yes, it's works like you write. But connection assigning is little bit
random and you cannot count with it.

Regards
Pavel Stehule

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2007-08-13 08:39:17 Re: UDFs
Previous Message Paul Lambert 2007-08-13 05:55:02 Re: TimestampTZ