Skip site navigation (1) Skip section navigation (2)

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

From: Joseph Shraibman <jks(at)selectacast(dot)net>
To: Anders Bengtsson <anders(at)lecando(dot)com>
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-20 19:54:50
Message-ID: 3A19818A.B364290F@selectacast.net (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-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(at)lecando(dot)com
> http://www.lecando.com

-- 
Joseph Shraibman
jks(at)selectacast(dot)net
Increase signal to noise ratio.  http://www.targabot.com

In response to

Responses

pgsql-bugs by date

Next:From: pgsql-bugsDate: 2000-11-21 17:11:53
Subject: Use a view as opposed to a table and it doesn't work!
Previous:From: DaviS QuiricoDate: 2000-11-20 15:53:15
Subject: Function COPY

pgsql-interfaces by date

Next:From: David ColeyDate: 2000-11-20 20:50:43
Subject: Create tables using Perl DBI
Previous:From: Evelio MartínezDate: 2000-11-20 19:24:32
Subject: Password to install the odbc driver

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group