From: Markus Schaber <schabios@logi-track.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: 8.0.0beta4: "copy" and "client_encoding"
Date: Tue, 9 Nov 2004 18:36:26 +0100
Message-ID: <20041109183626.32f44aba@kingfisher.intern.logi-track.com> (raw)
In-Reply-To: <418FEE10.5020601@opencloud.com>
References: <03E7D3E231BB7B4A915A6581D4296CC6C082CC@NSNOVPS00411.nacio.xythos.com>
<418FEE10.5020601@opencloud.com>
Hi, Oliver,
On Tue, 09 Nov 2004 11:07:12 +1300
Oliver Jowett <oliver@opencloud.com> wrote:
> > If you choose to go the URL parameter route, I would suggest you use the
> > existing 'compatible' parameter. This is exactly the type of thing that
> > parameter was designed to be used for. By default the driver does the
> > new check. But with a value of 'compatible=7.4' (or less, i.e. < 8.0)
> > the driver would revert back to the old behavior of not doing this
> > check.
>
> What's the upgrade path for a "legacy" application that uses COPY, so
> that it is a "current" application and no longer needs the compatible=
> parameter?
The upgrade path is to use properly recoded files.
> I don't see such a path without an additional COPY API or backend
> changes. So I'd prefer not to put this into the "compatible behaviour"
> bucket.
Maybe the sanest way would be to have an extra parameter, but setting
compatible=7.4 also disables the check.
But this may be to confusing.
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@logi-track.com | www.logi-track.com
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: schabios@logi-track.com
Subject: Re: 8.0.0beta4: "copy" and "client_encoding"
In-Reply-To: <20041109183626.32f44aba@kingfisher.intern.logi-track.com>
References: <03E7D3E231BB7B4A915A6581D4296CC6C082CC@NSNOVPS00411.nacio.xythos.com> <418FEE10.5020601@opencloud.com> <20041109183626.32f44aba@kingfisher.intern.logi-track.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