Re: php with postgres - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: php with postgres
Date
Msg-id 200307212122.h6LLMxs18894@candle.pha.pa.us
Whole thread Raw
In response to php with postgres  (ivan <iv@psycho.pl>)
List 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@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Andreas Joseph Krogh
Date:
Subject: Re: tsearch2 for 7.3.X
Next
From: Bruce Momjian
Date:
Subject: Re: duplicate define in elog.h