Re: [INTERFACES] Re: no meaningful way to determine fe or be version?

From: Anders Bengtsson <anders(at)lecando(dot)com>
To:
Cc: pgsql-bugs(at)postgresql(dot)org, PostgreSQL-interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: [INTERFACES] Re: no meaningful way to determine fe or be version?
Date: 2000-11-17 09:34:48
Message-ID: 3A14FBB8.553777C3@lecando.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-interfaces

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(at)lecando(dot)com
http://www.lecando.com

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2000-11-17 17:20:17 Re: [INTERFACES] Re: no meaningful way to determine fe or be version?
Previous Message rugang 2000-11-17 08:17:09 PostgreSql's making error in Windows NT4.0 Server

Browse pgsql-interfaces by date

  From Date Subject
Next Message Hannu Krosing 2000-11-17 10:26:41 Re: [ANNOUNCE] pgAdmin v7.0.3 Released
Previous Message Kevin Lo 2000-11-17 08:03:19 Re: ODBC Maintainer?