From: | "Peter Haworth" <pmh(at)edison(dot)ioppublishing(dot)com> |
---|---|
To: | David Wheeler <david(at)wheeler(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Tim Bunce <Tim(dot)Bunce(at)pobox(dot)com>, dbi-dev(at)perl(dot)org, pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: DBD::PostgreSQL |
Date: | 2002-11-19 12:19:48 |
Message-ID: | PGM.20021119121948.8441.2705@edison.ioppublishing.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-interfaces |
On Mon, 18 Nov 2002 09:17:05 -0800, David Wheeler wrote:
> On Monday, November 18, 2002, at 09:12 AM, Tom Lane wrote:
> > As of 7.3 that's not necessarily so anymore; you can "SET autocommit TO
> > off" and get the behavior where any statement starts a transaction block
> > (and so an explicit COMMIT is required to commit its effects). Not sure
> > if this helps you or not.
>
> PostgreSQL gets better and better. Yay. However, although I might be able
> to use compile-time macros to determine the PostgreSQL version, I have to
> support a minimum version of PostsgreSQL in the driver.
You'd also need a runtime check that the server you connected to was of a
sufficiently high version. I realise it would make things more complicated,
but would it be possible to keep the manual transaction starting behaviour,
as well as adding the 7.3 behaviour, and deciding which to do based on the
server version?
Also, I'd like booleans to be returned as 't'/'f', rather than 1/0, to match
the behaviour of other drivers. Or at least have a driver-specific flag to
control which values get used.
--
Peter Haworth pmh(at)edison(dot)ioppublishing(dot)com
"To vacillate or not to vacillate, that is the question ... or is it?"
From | Date | Subject | |
---|---|---|---|
Next Message | Chris Boget | 2002-11-19 13:32:54 | Re: Looking for a "Linux on Playstation 2" person to compile PostgreSQL RPM's |
Previous Message | Zeugswetter Andreas SB SD | 2002-11-19 09:15:49 | Re: char(n) to varchar or text conversion should strip |
From | Date | Subject | |
---|---|---|---|
Next Message | David Wheeler | 2002-11-19 23:13:49 | Re: DBD::PostgreSQL |
Previous Message | Han | 2002-11-19 04:42:41 | Question about the postgresql protocol |