Re: Re: [BUGS] no meaningful way to determine fe or be version? - Mailing list pgsql-interfaces

From Joseph Shraibman
Subject Re: Re: [BUGS] no meaningful way to determine fe or be version?
Date
Msg-id 3A19818A.B364290F@selectacast.net
Whole thread Raw
In response to Re: [BUGS] no meaningful way to determine fe or be version?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Re: [BUGS] no meaningful way to determine fe or be version?
List pgsql-interfaces
Try submitting it to the psgsl-patches list.

Anders Bengtsson wrote:
> 
> 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

-- 
Joseph Shraibman
jks@selectacast.net
Increase signal to noise ratio.  http://www.targabot.com


pgsql-interfaces by date:

Previous
From: "Adam Lang"
Date:
Subject: Re: Password to install the odbc driver
Next
From: "David Coley"
Date:
Subject: Create tables using Perl DBI