Re: DBD::PostgreSQL

From: David Wheeler <david(at)wheeler(dot)net>
To: "Peter Haworth" <pmh(at)edison(dot)ioppublishing(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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 23:13:49
Message-ID: 8FC8E572-FC14-11D6-8737-0003931A964A@wheeler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

On Tuesday, November 19, 2002, at 04:19 AM, Peter Haworth wrote:

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

I think I'd rather do it at compile-time, depending on the PosgreSQL
libraries available. Folks who compile against 7.3 and then connect to
7.2 get what they ask for, IMO.

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

I might add this as an option later -- it'd probably be fairly easy --
but right now I want to get core functionality nailed down, and since
the 1/0 behavior is most Perlish, I'll stick to that as the default.

Regards,

David

--
David Wheeler AIM: dwTheory
david(at)wheeler(dot)net ICQ: 15726394
http://david.wheeler.net/ Yahoo!: dew7e
Jabber: Theory(at)jabber(dot)org

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2002-11-20 04:42:57 Re: PREPARE and parameter types (Re: [INTERFACES] DBD::PostgreSQL)
Previous Message Matthew V. 2002-11-19 18:20:28 Re: DECLARE CURSOR

Browse pgsql-interfaces by date

  From Date Subject
Next Message David Wheeler 2002-11-19 23:13:54 DBD::PgSQL: More Queestions
Previous Message Peter Haworth 2002-11-19 12:19:48 Re: DBD::PostgreSQL