From: Peter Haworth <pmh@edison.ioppublishing.com>
To: David Wheeler <david@wheeler.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Tim Bunce <Tim.Bunce@pobox.com>
Cc: dbi-dev@perl.org
Cc: pgsql-interfaces@postgresql.org
Subject: Re: DBD::PostgreSQL
Date: Wed, 20 Nov 2002 15:56:46 +0000
Message-ID: <PGM.20021120155646.8441.2716@edison.ioppublishing.com> (raw)
References: <8FC8E572-FC14-11D6-8737-0003931A964A@wheeler.net>
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@edison.ioppublishing.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: pmh@edison.ioppublishing.com, david@wheeler.net, tgl@sss.pgh.pa.us, Tim.Bunce@pobox.com, dbi-dev@perl.org
Subject: Re: DBD::PostgreSQL
In-Reply-To: <PGM.20021120155646.8441.2716@edison.ioppublishing.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox