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 21:22:59
Message-ID: 200307212122.h6LLMxs18894@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Marcus B?rger wrote:
> Hello Bruce,
>
> Monday, July 21, 2003, 9:37:08 PM, you wrote:
>
> BM> 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).
>
> BM> It first appeared in PostgreSQL version 7.2. It doesn't generate any
> BM> failures. It just resets all SET settting to their defaults, in case
> BM> the previous client modified them.
>
>
> Committed for PHP 5.0 if there is a version 4.4 or 4.5 i'll commit the patch
> for that version, too. Now we need someone with a big site to test whether it
> brings any new problems. If there aren't problems i could probably also commit

I think Theis originally complained about it, perhaps two years ago.

> to PHP 4.3.3. Btw. i don't do RESET ALL when creating the link because that
> shouldn't be necessary.

Right.

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

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-07-21 21:29:36 Re: duplicate define in elog.h
Previous Message Andreas Joseph Krogh 2003-07-21 21:07:52 Re: tsearch2 for 7.3.X