From: aoki@acm.org
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: no meaningful way to determine fe or be version?
Date: Thu, 16 Nov 2000 12:52:43 -0800
Message-ID: <200011162052.eAGKqih26908@faerie.CS.Berkeley.EDU> (raw)
In-Reply-To: <200011161941.OAA25377@candle.pha.pa.us>
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.
--
Paul M. Aoki / Xerox Palo Alto Research Center / 3333 Coyote Hill Road
aoki@acm.org / Computer Science Laboratory / Palo Alto, CA 94304-1314
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: aoki@acm.org, pgman@candle.pha.pa.us, pgsql-bugs@postgresql.org
Subject: Re: no meaningful way to determine fe or be version?
In-Reply-To: <200011162052.eAGKqih26908@faerie.CS.Berkeley.EDU>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox