pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: COPY support survey
Date: Fri, 19 Aug 2005 10:42:24 -0400
Message-ID: <18287.1124462544@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.BSO.4.62.0508190108180.141@leary.csoft.net>
References: <Pine.BSO.4.62.0508190108180.141@leary.csoft.net>

Kris Jurka <books@ejurka.com> writes:
> So the question is what should we do?

> 1) Just get the raw stream interface into the official release and let the 
> end user deal with reading and writing the stream.  That's all I'll use 
> and I don't care about anything else.

> 2) Don't give up, get the friendly SQLInput/SQLOutput interface in because 
> this is what I really want.

> 3) Put in the raw stream interface, but keep working to also add the 
> friendly one.  I'll understand if the interface changes and I have to 
> modify my code a bit.

Would it not be possible to do (1) now and leave the door open to add
(2) later without breaking existing uses of (1)?  That is, I don't see
why (3) has to carry a risk of non-backwards-compatibility.  Surely you
can design non-overlapping APIs for (1) and (2).

(Obviously, my vote is for (3).)

			regards, tom lane



view thread (10+ messages)  latest in thread

Message-ID: <18287.1124462544@sss.pgh.pa.us>
Permalink:  ../18287.1124462544@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18287.1124462544@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, books@ejurka.com
  Subject: Re: COPY support survey
  In-Reply-To: <18287.1124462544@sss.pgh.pa.us>
  References: <Pine.BSO.4.62.0508190108180.141@leary.csoft.net> <18287.1124462544@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