Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 09020475AD4 for ; Wed, 20 Nov 2002 10:56:43 -0500 (EST) Received: from edison.ioppublishing.com (edison.ioppublishing.com [193.128.223.242]) by postgresql.org (Postfix) with SMTP id D4CA3474E61 for ; Wed, 20 Nov 2002 10:56:41 -0500 (EST) Received: (qmail 25201 invoked from network); 20 Nov 2002 15:56:46 -0000 Received: from unknown (HELO localhost.localdomain) (127.0.0.1) by localhost with SMTP; 20 Nov 2002 15:56:46 -0000 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 From: "Peter Haworth" To: David Wheeler Cc: Tom Lane , Tim Bunce , dbi-dev@perl.org, pgsql-interfaces@postgresql.org Subject: Re: DBD::PostgreSQL Date: Wed, 20 Nov 2002 15:56:46 +0000 Message-Id: X-Mailer: PGM v0.17 References: <8FC8E572-FC14-11D6-8737-0003931A964A@wheeler.net> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/132 X-Sequence-Number: 3380 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