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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
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 beversion?
Date: 2000-11-25 04:09:25
Message-ID: 200011250409.XAA29073@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-interfaces

OK, I think I understand this now.

getDatabaseProductVersion() calls getVersion, which is defined in
Driver.java.in as the version string from configure. It returns the
version of the client jdbc code. To get the server version, you need
that SELECT you suggested.

Is that OK?

> I think Peter Mount looked at it, but there where some big changes to
> the JDBC driver going on at that time. When I look at the code in CVS
> now it looks nothing like what it did when I did the patch against it.
>
> Anyway, I found my old patch in the archives:
> http://www.postgresql.org/mhonarc/pgsql-interfaces/2000-09/msg00051.html
>
> /Anders
>
> Bruce Momjian wrote:
> >
> > This concerns me. Did we lose a patch here? Can you send it again?
>
> > >
> > > 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 ..
>
> _____________________________________________________________________
> A n d e r s B e n g t s s o n anders(at)lecando(dot)com
> Stockholm, Sweden
>

--
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

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2000-11-25 04:30:15 Re: [INTERFACES] Re: no meaningful way to determine fe or be version?
Previous Message Tom Lane 2000-11-24 20:53:17 Re: Bug in 'bigcheckt'

Browse pgsql-interfaces by date

  From Date Subject
Next Message Bruce Momjian 2000-11-25 04:30:15 Re: [INTERFACES] Re: no meaningful way to determine fe or be version?
Previous Message Manish Vig 2000-11-24 21:22:55 Jdbc Trouble