From: Anders Bengtsson <anders@lecando.com>
Cc: pgsql-bugs@postgresql.org, PostgreSQL-interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: [INTERFACES] Re: no meaningful way to determine fe or be version?
Date: Fri, 17 Nov 2000 10:34:48 +0100
Message-ID: <3A14FBB8.553777C3@lecando.com> (raw)
References: <200011162058.PAA29730@candle.pha.pa.us>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: anders@lecando.com
Subject: Re: [INTERFACES] Re: no meaningful way to determine fe or be version?
In-Reply-To: <3A14FBB8.553777C3@lecando.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox