Received: from snotra.lecando.com (snotra.lecando.com [195.58.106.167]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eAH9ars33038; Fri, 17 Nov 2000 04:36:53 -0500 (EST) (envelope-from anders@lecando.com) Received: from plenty.lecando.com ([62.65.2.66]) by snotra.lecando.com with esmtp (Exim 3.13 #1) id 13whuo-00035z-00; Fri, 17 Nov 2000 10:34:38 +0100 Received: from ulvsunda.lecando.com ([62.65.2.67] helo=lecando.com) by plenty.lecando.com with esmtp (Exim 3.13 #1) id 13wi0h-0007At-00; Fri, 17 Nov 2000 10:40:43 +0100 Message-ID: <3A14FBB8.553777C3@lecando.com> Date: Fri, 17 Nov 2000 10:34:48 +0100 From: Anders Bengtsson X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-22 i686) X-Accept-Language: sv-SE, sv, en MIME-Version: 1.0 CC: pgsql-bugs@postgresql.org, PostgreSQL-interfaces Subject: Re: [INTERFACES] Re: no meaningful way to determine fe or be version? References: <200011162058.PAA29730@candle.pha.pa.us> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200011/108 X-Sequence-Number: 130 Bruce Momjian wrote: > > > sorry, yes. the client-side interfaces (DatabaseMetaData.getDriver*) > > are actually fine - they return a major/minor version that have been > > getting manually updated (they're much more visible, being in > > org/postgresql/Driver.java). the server-side interfaces > > (DatabaseMetaData.getDatabase{Name,Version}) are the ones that aren't > > tied to the server, return hardcoded strings and haven't been getting > > updated regularly. > > Oh, really. I didn't know there was that distinction. Sounds like they > should be callling SELECT version(). Comments, Java folks? I posted a patch for the JDBC driver to pgsql-interfaces to do just that some time ago. Don't know what happened to it, though .. /Anders ________________________________________________________________________ A n d e r s B e n g t s s o n anders@lecando.com http://www.lecando.com