From: Oliver Jowett <oliver@opencloud.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Ken Geis <kgeis@speakeasy.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: patch: ResultSetTest.java
Date: Wed, 26 Oct 2005 09:40:01 +1300
Message-ID: <435E9821.5060704@opencloud.com> (raw)
In-Reply-To: <14102.1130252457@sss.pgh.pa.us>
References: <W277193702285981130228293@webmail4>
<13234.1130247178@sss.pgh.pa.us>
<5de916660e000c9b77ae3ec5e213b0a9@speakeasy.net>
<14102.1130252457@sss.pgh.pa.us>
Tom Lane wrote:
> Ken Geis <kgeis@speakeasy.net> writes:
>>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.
Hm, this would seem to be an obstacle to using binary output formats in
a general-purpose client..
The driver generally does not know the type of the columns returned by a
query ahead of time (without an extra round-trip, which has a
performance cost), so returning columns as binary is going to be
all-or-nothing.
If the act of selecting binary output for a column is going to cause an
ERROR on a query that would otherwise succeed.. that's pretty nasty :(
Any plans for the backend to require send/receive functions for all
types? Or perhaps something like using the input/output functions if
send/receive are not present?
-O
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: oliver@opencloud.com, tgl@sss.pgh.pa.us, kgeis@speakeasy.net
Subject: Re: patch: ResultSetTest.java
In-Reply-To: <435E9821.5060704@opencloud.com>
References: <W277193702285981130228293@webmail4> <13234.1130247178@sss.pgh.pa.us> <5de916660e000c9b77ae3ec5e213b0a9@speakeasy.net> <14102.1130252457@sss.pgh.pa.us> <435E9821.5060704@opencloud.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox