Re: JDBC getDatabaseProductVersion() patch

From: Peter Mount <peter(at)retep(dot)org(dot)uk>
To: Anders Bengtsson <anders(at)lecando(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: JDBC getDatabaseProductVersion() patch
Date: 2000-09-14 01:27:40
Message-ID: Pine.LNX.4.21.0009140225540.351-100000@maidast.demon.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Wed, 13 Sep 2000, Anders Bengtsson wrote:

> Hello,
> I don't know if this list is the correct way to contribute patches, but
> here we go:
>
> I've implemented getDatabaseProductVersion() for DatabaseMetaData so
> that it retreives tha version number from the database server, instead
> of using a hard coded constant in the driver.
> Attached are patches for jdbc1 and jdbc2.
> I've only been able to test the jdbc2 driver, but I hope someone can
> check that the jdbc1 version works.

I'll check it against both. Hopefully the output from the backend doesnt
change it's format...

> (By the way, has anyone tried to merge the identical parts of the jdbc1
> and jdbc2 code?).

I have thought about it, but now isn't a good time as it would then
involve undoing it later. I've got plans on rewriting the jdbc2 ResultSet
to allow cursor support, and some of the duplicated areas would be
affected.

Peter

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Eric D. Friedman 2000-09-14 03:38:45 bug in JDBC UNICODE support
Previous Message Ramiro Diaz Trepat 2000-09-14 00:32:27 jdbc Bug ?