Jure Koren <jure@hehe.si> 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