Re: php with postgres - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: php with postgres
Date
Msg-id 200307310411.h6V4B4x25034@candle.pha.pa.us
Whole thread Raw
In response to php with postgres  (ivan <iv@psycho.pl>)
Responses Re: php with postgres
List pgsql-hackers
Are you all done with the PHP persistent connection changes?  Need any
help?


---------------------------------------------------------------------------

Marcus B?rger wrote:
> Hello Christopher,
> 
> Wednesday, July 23, 2003, 6:49:05 AM, you wrote:
> 
> >> > Surely PHP can be modified so as to use the new 3.0 protocol feature to
> >> > detect whether it's in a transaction or not, so as to avoid unnecssary
> >> > querying?
> >>
> >> Yes, you could, but it hardly seems worth it because they have to
> >> support old and new protocols.  Eventually, yes, they could use that to
> >> eliminate the BEGIN;COMMIT.
> 
> CKL> Just use a configure test to see if you have the appropriate function call
> CKL> in your libpq...
> 
> I've put that already into PHP yesturday so i could add the necessary check
> now too.
> 
> -- 
> Best regards,
>  Marcus                            mailto:marcus.boerger@post.rwth-aachen.de
> 
> 

--  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: Tom Lane
Date:
Subject: Re: this is in plain text (row level locks)
Next
From: Bruce Momjian
Date:
Subject: Re: php with postgres