Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id E4A2247638D for ; Thu, 21 Nov 2002 02:50:06 -0500 (EST) Received: from anchor-post-33.mail.demon.net (anchor-post-33.mail.demon.net [194.217.242.91]) by postgresql.org (Postfix) with ESMTP id 45D6A476348 for ; Thu, 21 Nov 2002 02:50:04 -0500 (EST) Received: from lfix.demon.co.uk ([158.152.59.127] helo=linda.lfix.co.uk) by anchor-post-33.mail.demon.net with esmtp (Exim 3.35 #1) id 18Em67-000G1H-0X; Thu, 21 Nov 2002 07:50:04 +0000 Received: from localhost ([127.0.0.1] helo=localhost.localdomain ident=olly) by linda.lfix.co.uk with esmtp (Exim 3.36 #1 (Debian)) id 18Em67-0002Dj-00; Thu, 21 Nov 2002 07:50:03 +0000 Subject: Re: DBD::PostgreSQL From: Oliver Elphick To: David Wheeler Cc: Peter Haworth , Tom Lane , Tim Bunce , dbi-dev@perl.org, pgsql-interfaces@postgresql.org In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 21 Nov 2002 07:50:03 +0000 Message-Id: <1037865003.1047.7.camel@linda> Mime-Version: 1.0 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/87 X-Sequence-Number: 3335 On Thu, 2002-11-21 at 03:02, David Wheeler wrote: > On Wednesday, November 20, 2002, at 07:56 AM, Peter Haworth wrote: > > > Fair enough, but at least check the server version on connection, and > > bail > > if it's not high enough. > > What's the easiest way to get the version on connection? SELECT version(); -- Oliver Elphick Oliver.Elphick@lfix.co.uk Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C ======================================== "A new commandment I give unto you; That ye love one another. As I have loved you, so ye also must love one another. By this shall all men know that ye are my disciples, if ye have love one to another." John 13:34,35