Re: patch: ResultSetTest.java - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: patch: ResultSetTest.java
Date
Msg-id 14102.1130252457@sss.pgh.pa.us
Whole thread Raw
In response to Re: patch: ResultSetTest.java  (Ken Geis <kgeis@speakeasy.net>)
Responses Re: patch: ResultSetTest.java
Re: patch: ResultSetTest.java
List pgsql-jdbc
Ken Geis <kgeis@speakeasy.net> writes:
> On Oct 25, 2005, at 6:32 AM, Tom Lane wrote:
>> The proposed change is probably a good idea anyway, primarily because
>> there isn't necessarily any template1 database.  But if fetching
>> aclitem[] fails then there's something quite wrong, and I don't believe
>> it's on the server side.

> aclitem is one of few types that does not have send and receive
> functions defined.

Oh, my mistake, I looked at the entry for _aclitem ... but you're right,
the underlying type doesn't have 'em.

> The problem came up for me because I am implementing binary
> data transfer in the JDBC driver, and my first draft assumes that all
> data transfers are binary.

This is a really bad assumption, unless you intend never to support any
user-defined types.

            regards, tom lane

pgsql-jdbc by date:

Previous
From: Ken Geis
Date:
Subject: Re: patch: ResultSetTest.java
Next
From: kgeis@speakeasy.net
Date:
Subject: Re: patch: ResultSetTest.java