Re: php with postgres - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: php with postgres
Date
Msg-id 100401c350d5$beef5d40$2800a8c0@mars
Whole thread Raw
In response to Re: php with postgres  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
> > 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.

Just use a configure test to see if you have the appropriate function call
in your libpq...

Chris



pgsql-hackers by date:

Previous
From: Steven Vajdic
Date:
Subject: Unsubscribe
Next
From: Sailesh Krishnamurthy
Date:
Subject: Re: table-level and row-level locks.