From: | Kris Jurka <books(at)ejurka(dot)com> |
---|---|
To: | Oliver Jowett <oliver(at)opencloud(dot)com> |
Cc: | Dave Cramer <pg(at)fastcrypt(dot)com>, Alexey Yudichev <Alexey(at)francoudi(dot)com>, "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: FW: OID, compatible=7.1 and getBinaryStream() in |
Date: | 2003-12-18 01:12:55 |
Message-ID: | Pine.LNX.4.33.0312171952390.31131-200000@leary.csoft.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
On Thu, 18 Dec 2003, Oliver Jowett wrote:
> On Wed, Dec 17, 2003 at 07:17:43PM -0500, Kris Jurka wrote:
>
> > Additionally doing some testing revealed another bug with compatibilty
> > version handling. If the user does not explicitly specify a "compatible"
> > parameter it defaults to the jdbc driver version. It should instead
> > default to the server version the connection is for because a newer driver
> > can talk to older databases.
>
> Is this correct? I thought compatible=X meant "behave like the driver in
> version X behaved" i.e. it was there for handling incompatible driver
> changes, not server-side changes.
>
Right, the actual problem was that some of the checks to determine whether
to use the V2 or V3 protocol were using the compatible version number
instead of the protocol version of the established connection. This patch
fixes the real problem instead of mucking with the really unrelated
compatible parameter.
Kris Jurka
Attachment | Content-Type | Size |
---|---|---|
protocolversion.patch | text/plain | 1.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Barry Lind | 2003-12-18 01:27:37 | Re: FW: OID, compatible=7.1 and getBinaryStream() in |
Previous Message | Oliver Jowett | 2003-12-18 00:35:19 | Re: FW: OID, compatible=7.1 and getBinaryStream() in |