Re: no meaningful way to determine fe or be version? - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: no meaningful way to determine fe or be version?
Date
Msg-id 200011162058.PAA29730@candle.pha.pa.us
Whole thread Raw
In response to Re: no meaningful way to determine fe or be version?  (aoki@acm.org (Paul M. Aoki))
List pgsql-bugs
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Yes, should we return the client or server version from the interface? 
> > If we return the server version, how does someone query the client version?
> 
> 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?

--  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,
Pennsylvania19026
 


pgsql-bugs by date:

Previous
From: aoki@acm.org (Paul M. Aoki)
Date:
Subject: Re: no meaningful way to determine fe or be version?
Next
From: Joseph Shraibman
Date:
Subject: Re: [INTERFACES] Re: no meaningful way to determine fe or be version?