Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 1AEBD476485; Tue, 10 Dec 2002 10:38:13 -0500 (EST) Received: from lubitsch.akademie.de (ns.akademie.de [62.165.4.3]) by postgresql.org (Postfix) with ESMTP id 5CDBA47630A; Tue, 10 Dec 2002 10:38:09 -0500 (EST) Received: from pd9eb1897.dip.t-dialin.net ([217.235.24.151] helo=ianb.local) by lubitsch.akademie.de with asmtp (Exim 3.33 #2) id 18LmSb-0005jD-00; Tue, 10 Dec 2002 16:38:13 +0100 Content-Type: text/plain; charset="iso-2022-jp" From: Ian Barwick To: Tom Lane Subject: Re: [INTERFACES] Patch for DBD::Pg pg_relcheck problem Date: Tue, 10 Dec 2002 16:38:03 +0100 X-Mailer: KMail [version 1.4] Cc: dbi-dev@perl.org, pgsql-interfaces@postgresql.org, pgsql-hackers@postgresql.org References: <200212091631.00125.barwick@gmx.net> <200212100034.31936.barwick@gmx.net> <20819.1039477650@sss.pgh.pa.us> In-Reply-To: <20819.1039477650@sss.pgh.pa.us> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200212101638.03642.barwick@gmx.net> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/584 X-Sequence-Number: 33039 (crossposting to hackers) On Tuesday 10 December 2002 00:47, Tom Lane wrote: > In the next protocol version update (hopefully 7.4) I would like to see > the basic version string (eg, "7.3.1" or "7.4devel") delivered to the > client automatically during connection startup and then available from a > libpq inquiry function. This would eliminate the need to call version() > explicitly and to know that you must skip "PostgreSQL " in its output. Something along the lines of=20 char *PQversion(const PGconn *conn) ? > However, it will only help for clients/libraries that are willing to > deal exclusively with 7.4-or-newer backends, so it will take a few > releases to become really useful. Sounds good to me. Is it on the todo-list? (Couldn't see it there). Ian Barwick barwick@gmx.net