Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 742F49FB24C for ; Tue, 3 Oct 2006 17:51:22 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 31690-08 for ; Tue, 3 Oct 2006 17:51:18 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 544549FB20B for ; Tue, 3 Oct 2006 17:51:18 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k93KpGT1010999; Tue, 3 Oct 2006 16:51:16 -0400 (EDT) To: Jure Koren cc: pgsql-jdbc@postgresql.org Subject: Re: dollar quoting In-reply-to: <200610032237.00051.jure@hehe.si> References: <200610031754.38595.jure@hehe.si> <200610032146.37524.jure@hehe.si> <10393.1159905296@sss.pgh.pa.us> <200610032237.00051.jure@hehe.si> Comments: In-reply-to Jure Koren message dated "Tue, 03 Oct 2006 22:36:53 +0200" Date: Tue, 03 Oct 2006 16:51:16 -0400 Message-ID: <10998.1159908676@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.093 tagged_above=0 required=5 tests=AWL, SPF_HELO_PASS, SPF_PASS X-Spam-Level: X-Archive-Number: 200610/32 X-Sequence-Number: 15915 Jure Koren writes: > On Tuesday 03 October 2006 21:54, Tom Lane wrote: >> No ... a locale-dependent character class test is exactly the wrong >> thing. See the other discussion. > But it isn't locale dependent. All unicode letter class character match, > regardless of locale (which is what the postgres docs say as well). The point is that it's the wrong thing because it doesn't match what the backend does: all characters > 127 are allowed in dollar tags, no matter whether Java thinks they are letters or not. regards, tom lane