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

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

From: aoki(at)acm(dot)org (Paul M(dot) Aoki)
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: no meaningful way to determine fe or be version?
Date: 2000-11-16 20:52:43
Message-ID: 200011162052.eAGKqih26908@faerie.CS.Berkeley.EDU (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.
--
 Paul M. Aoki / Xerox Palo Alto Research Center / 3333 Coyote Hill Road
 aoki(at)acm(dot)org / Computer Science Laboratory     / Palo Alto, CA 94304-1314

Responses

pgsql-bugs by date

Next:From: Bruce MomjianDate: 2000-11-16 20:58:14
Subject: Re: no meaningful way to determine fe or be version?
Previous:From: Bruce MomjianDate: 2000-11-16 19:41:44
Subject: Re: no meaningful way to determine fe or be version?

pgsql-interfaces by date

Next:From: Bruce MomjianDate: 2000-11-16 20:58:14
Subject: Re: no meaningful way to determine fe or be version?
Previous:From: Michael StephensonDate: 2000-11-16 17:37:32
Subject: Re: JDBC prob. Continued

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