From: | Markus Schaber <schabios(at)logi-track(dot)com> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: 8.0.0beta4: "copy" and "client_encoding" |
Date: | 2004-11-09 17:33:02 |
Message-ID: | 20041109183302.63a547d5@kingfisher.intern.logi-track.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Hi, Kris,
On Fri, 5 Nov 2004 15:27:51 -0500 (EST)
Kris Jurka <books(at)ejurka(dot)com> wrote:
> Well that's not going to get in for 8.0, so we'll need to do something
> especially since the driver is supposed to offer backward compatibility.
> From my perspective we've got three options, just drop the check, Oliver's
> add a URL parameter to turn off the check, or add an API so that they
> don't issue the COPY command directly, but something like
> issueServerCopy(table, file, encoding) where the driver could turn off the
> check, switch the encoding, do the copy, switch the encoding back, and
> turn on the check.
I would prefer to adding the URL option, maybe combined with the version
compatibility flag.
Adding an API always carries the disadvantage that the user has to do
runtime casts and add special cased code even when the sql syntax is
compatible for all capable servers.
Have fun,
Markus
--
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios(at)logi-track(dot)com | www.logi-track.com
From | Date | Subject | |
---|---|---|---|
Next Message | Markus Schaber | 2004-11-09 17:36:26 | Re: 8.0.0beta4: "copy" and "client_encoding" |
Previous Message | Markus Schaber | 2004-11-09 16:49:00 | Re: Avoiding explicit addDataType calls for PostGIS |