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 AD3F93A40E2 for ; Mon, 8 Nov 2004 22:15:56 +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 54737-02 for ; Mon, 8 Nov 2004 22:15:52 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 7E97A3A40CE for ; Mon, 8 Nov 2004 22:15:53 +0000 (GMT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1CRHd1-0007Vh-00; Tue, 09 Nov 2004 11:04:47 +1300 Message-ID: <418FEE10.5020601@opencloud.com> Date: Tue, 09 Nov 2004 11:07:12 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 0.8 (X11/20041021) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Barry Lind Cc: Kris Jurka , Markus Schaber , pgsql-jdbc@postgresql.org, mbch67@yahoo.com Subject: Re: 8.0.0beta4: "copy" and "client_encoding" References: <03E7D3E231BB7B4A915A6581D4296CC6C082CC@NSNOVPS00411.nacio.xythos.com> In-Reply-To: <03E7D3E231BB7B4A915A6581D4296CC6C082CC@NSNOVPS00411.nacio.xythos.com> X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/78 X-Sequence-Number: 11500 Barry Lind 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? 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. -O