pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Oliver Jowett <oliver@opencloud.com>
Cc: Ken Geis <kgeis@speakeasy.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: patch: ResultSetTest.java
Date: Tue, 25 Oct 2005 16:49:24 -0400
Message-ID: <28994.1130273364@sss.pgh.pa.us> (raw)
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>

Oliver Jowett <oliver@opencloud.com> writes:
> Any plans for the backend to require send/receive functions for all 
> types?

Highly unlikely, since that would break most user-defined types in existence.

> Or perhaps something like using the input/output functions if 
> send/receive are not present?

Doesn't seem like an amazingly good idea ... how would you know what you
were getting?

A more salient point is exactly what is JDBC going to *do* with data in
an unknown binary format?

You may have to fall back to providing a switch somewhere that says
whether or not to use binary I/O, with the understanding that it's only
safe to turn it on when all the queries use only supported types.

			regards, tom lane



view thread (11+ messages)  latest in thread

Message-ID: <28994.1130273364@sss.pgh.pa.us>
Permalink:  ../28994.1130273364@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28994.1130273364@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, oliver@opencloud.com, kgeis@speakeasy.net
  Subject: Re: patch: ResultSetTest.java
  In-Reply-To: <28994.1130273364@sss.pgh.pa.us>
  References: <W277193702285981130228293@webmail4> <13234.1130247178@sss.pgh.pa.us> <5de916660e000c9b77ae3ec5e213b0a9@speakeasy.net> <14102.1130252457@sss.pgh.pa.us> <435E9821.5060704@opencloud.com> <28994.1130273364@sss.pgh.pa.us>

* 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