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

From: Joseph Shraibman <jks(at)selectacast(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "Paul M(dot) Aoki" <aoki(at)acm(dot)org>, 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-17 00:17:52
Message-ID: 3A147930.4284AEA0@selectacast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-interfaces

Bruce Momjian wrote:
>
> > 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?
>
I remember someone posting a patch saying that he changed the code to do
that. Or saying he was going to post a patch, I forget.

Anyway, I just checked and it isn't in the cvs.

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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message rugang 2000-11-17 07:12:08 PostgreSql's making error in Windows NT4.0 Server
Previous Message Bruce Momjian 2000-11-16 20:58:14 Re: no meaningful way to determine fe or be version?

Browse pgsql-interfaces by date

  From Date Subject
Next Message Thomas Lockhart 2000-11-17 04:04:11 Re: ODBC Maintainer?
Previous Message Michael Miyabara-McCaskey 2000-11-16 22:11:08 ODBC Windows driver corrupts data?