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                     [EMAIL PROTECTED]
> Stockholm, Sweden
> 


-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Reply via email to