Re: DBD::PostgreSQL

From: "Peter Haworth" <pmh(at)edison(dot)ioppublishing(dot)com>
To: David Wheeler <david(at)wheeler(dot)net>
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-20 15:56:46
Message-ID: PGM.20021120155646.8441.2716@edison.ioppublishing.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

On Tue, 19 Nov 2002 15:13:49 -0800, David Wheeler wrote:
> 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.

Fair enough, but at least check the server version on connection, and bail
if it's not high enough.

--
Peter Haworth pmh(at)edison(dot)ioppublishing(dot)com
"I couldn't even find anything to read. The hotel shop
only had two decent books, and I'd written both of them."
-- Douglas Adams, the Salmon of Doubt

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Doug McNaught 2002-11-20 16:00:01 Re: float4 problem
Previous Message Oleg Bartunov 2002-11-20 15:38:22 float4 problem

Browse pgsql-interfaces by date

  From Date Subject
Next Message Rudy Lippan 2002-11-20 16:17:46 Re: :PgSQL: More Queestions
Previous Message Tim Bunce 2002-11-20 15:02:13 Re: DBD::PgSQL: More Queestions