Re: php with postgres

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Marcus Brger <marcus(dot)boerger(at)post(dot)rwth-aachen(dot)de>
Cc: ivan <iv(at)psycho(dot)pl>, Joe Conway <mail(at)joeconway(dot)com>, Jan Wieck <JanWieck(at)Yahoo(dot)com>, Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: php with postgres
Date: 2003-07-21 19:37:08
Message-ID: 200307211937.h6LJb8N07183@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Marcus B?rger wrote:
> BM> Marcus, would you check if PHP is using RESET ALL when passing
> BM> persistent connection to new clients? We added that capability a few
> BM> releases ago, specifically for PHP persistent connections, but I don't
> BM> think that ever got into the PHP code.
>
> Unfortunately we don't do so yet. Do i need to check for errors or can i do it
> unconditionally on conenction start? And i'd need to know how to check if it
> is available (like starting with which version).

It first appeared in PostgreSQL version 7.2. It doesn't generate any
failures. It just resets all SET settting to their defaults, in case
the previous client modified them.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-07-21 20:00:13 Re: did you read my mails ?
Previous Message Marcus Brger 2003-07-21 19:29:56 Re: php with postgres