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 DEB79329E46 for ; Thu, 23 Sep 2004 08:16:55 +0100 (BST) 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 91875-02 for ; Thu, 23 Sep 2004 07:16:47 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id C9A50329E3D for ; Thu, 23 Sep 2004 08:16:48 +0100 (BST) Received: (qmail 15759 invoked by uid 1112); 23 Sep 2004 07:16:48 -0000 Date: Thu, 23 Sep 2004 02:16:48 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Oliver Jowett Cc: "pgsql-jdbc@postgresql.org" Subject: Re: Detecting SQL_ASCII databases In-Reply-To: <415218FC.9010801@opencloud.com> Message-ID: References: <414CB84A.2050107@opencloud.com> <415218FC.9010801@opencloud.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: 200409/160 X-Sequence-Number: 11050 On Thu, 23 Sep 2004, Oliver Jowett wrote: > >>8.0 backends report the server_encoding value of the database via > >>ParameterStatus during startup. I'd like to use this to detect SQL_ASCII > >>databases and complain loudly. > > Sounds good to me as long as we can make existing "broken" setups still work (at least as well as they do now). I was initially hesitant because you seemed to want to force people to encode their data correctly (requiring a dump/reload). If they just need to set a URL parameter acknowledging that their setup isn't quite right, that's low impact. Kris Jurka