| From: | "Scott Marlowe" <scott(dot)marlowe(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 14:35:13 |
| Message-ID: | dcc563d10708130735m31f175adre05148c0842d1936@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 8/13/07, Naz Gassiep <naz(at)mira(dot)net> wrote:
> 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?
Except for a few special uses, persistent connections in php are more
of a misfeature. They are NOT pooling, in the standard sense. Most
of the time they cause more problems than they solve.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Fuhr | 2007-08-13 14:37:31 | Re: Selecting rows where timestamp between two timestamps |
| Previous Message | Scott Marlowe | 2007-08-13 14:33:20 | Re: copy command - date |