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

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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Paul M(dot) Aoki" <aoki(at)acm(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org, PostgreSQL-interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: no meaningful way to determine fe or be version?
Date: 2000-11-16 20:58:14
Message-ID: 200011162058.PAA29730@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-interfaces
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

Responses

pgsql-bugs by date

Next:From: Joseph ShraibmanDate: 2000-11-17 00:17:52
Subject: Re: [INTERFACES] Re: no meaningful way to determine fe or be version?
Previous:From: Paul M. AokiDate: 2000-11-16 20:52:43
Subject: Re: no meaningful way to determine fe or be version?

pgsql-interfaces by date

Next:From: Christopher FarleyDate: 2000-11-16 21:09:10
Subject: Re: JDBC prob. Continued
Previous:From: Paul M. AokiDate: 2000-11-16 20:52:43
Subject: Re: no meaningful way to determine fe or be version?

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