X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3F16B3A3D59 for ; Tue, 9 Nov 2004 17:36:36 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 03390-03 for ; Tue, 9 Nov 2004 17:36:29 +0000 (GMT) Received: from mail.logi-track.com (burro.logi-track.com [213.239.193.212]) by svr1.postgresql.org (Postfix) with ESMTP id 039513A3CFC for ; Tue, 9 Nov 2004 17:36:30 +0000 (GMT) Received: from kingfisher.intern.logi-track.com (J0722.j.pppool.de [85.74.7.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logi-track.com (Postfix) with ESMTP id 3CF0630381; Tue, 9 Nov 2004 18:36:33 +0100 (CET) Received: from kingfisher.intern.logi-track.com (localhost [127.0.0.1]) by kingfisher.intern.logi-track.com (Postfix) with SMTP id A1B39AB2E4; Tue, 9 Nov 2004 18:36:26 +0100 (CET) Date: Tue, 9 Nov 2004 18:36:26 +0100 From: Markus Schaber To: pgsql-jdbc@postgresql.org Subject: Re: 8.0.0beta4: "copy" and "client_encoding" Message-ID: <20041109183626.32f44aba@kingfisher.intern.logi-track.com> In-Reply-To: <418FEE10.5020601@opencloud.com> References: <03E7D3E231BB7B4A915A6581D4296CC6C082CC@NSNOVPS00411.nacio.xythos.com> <418FEE10.5020601@opencloud.com> Organization: logi-track ag, =?ISO-8859-15?Q?z=FCrich?= X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i386-pc-linux-gnu) X-Face: Nx5T&>Nj$VrVPv}sC3IL&)TqHHOKCz/|)R$i"*r@w0{*I6w; UNU_hdl1J4NI_m{IMztq=>cmM}1gCLbAF+9\#CGkG8}Y{x%SuQ>1#t:; Z(|\qdd[i]HStki~#w1$TPF}:0w-7"S\Ev|_a$K 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=3D7.4' (or less, i.e. < 8.0) > > the driver would revert back to the old behavior of not doing this > > check.=20 >=20 > What's the upgrade path for a "legacy" application that uses COPY, so=20 > that it is a "current" application and no longer needs the compatible=3D= =20 > parameter? The upgrade path is to use properly recoded files. =20 > I don't see such a path without an additional COPY API or backend=20 > changes. So I'd prefer not to put this into the "compatible behaviour"=20 > bucket. Maybe the sanest way would be to have an extra parameter, but setting compatible=3D7.4 also disables the check. But this may be to confusing. Markus --=20 markus schaber | dipl. informatiker logi-track ag | rennweg 14-16 | ch 8001 z=FCrich phone +41-43-888 62 52 | fax +41-43-888 62 53 mailto:schabios@logi-track.com | www.logi-track.com