Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eAHHQMs54883; Fri, 17 Nov 2000 12:26:22 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id MAA25515; Fri, 17 Nov 2000 12:20:17 -0500 (EST) From: Bruce Momjian Message-Id: <200011171720.MAA25515@candle.pha.pa.us> Subject: Re: [INTERFACES] Re: no meaningful way to determine fe or be version? In-Reply-To: <3A14FBB8.553777C3@lecando.com> "from Anders Bengtsson at Nov 17, 2000 10:34:48 am" To: Anders Bengtsson Date: Fri, 17 Nov 2000 12:20:17 -0500 (EST) CC: pgsql-bugs@postgresql.org, PostgreSQL-interfaces X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200011/109 X-Sequence-Number: 131 This concerns me. Did we lose a patch here? Can you send it again? > 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 > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026