Re: FW: OID, compatible=7.1 and getBinaryStream() in 7.4driver - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: FW: OID, compatible=7.1 and getBinaryStream() in 7.4driver
Date
Msg-id Pine.LNX.4.33.0312170714150.29777-200000@leary.csoft.net
Whole thread Raw
In response to Re: FW: OID, compatible=7.1 and getBinaryStream() in 7.4driver + 7.4 database  ("Alexey Yudichev" <Alexey@francoudi.com>)
Responses Re: FW: OID, compatible=7.1 and getBinaryStream() in 7.4driver  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc

On Wed, 17 Dec 2003, Alexey Yudichev wrote:

> [I can't use 7.1 style large objects with a 7.4 database.]

Here's a patch to fix this.  The core problem was a check to determine
if it should use the version 2 or 3 protocol was checking the
server version instead of the compatibility version.  While
locating this I found two other bugs.  The query to retrieve the
oids for the large object functions had an incorrect WHERE clause
when trying to deal with schemas.  Also the V3 fastpath API didn't
handle multiargument functions properly.

Kris Jurka

Attachment

pgsql-jdbc by date:

Previous
From: Harry Gysland
Date:
Subject: unsubscribe
Next
From: Kris Jurka
Date:
Subject: Re: FW: OID, compatible=7.1 and getBinaryStream() in 7.4driver