Re: Regexps vs. locale - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Regexps vs. locale
Date
Msg-id 23275.1228742336@sss.pgh.pa.us
Whole thread Raw
In response to Regexps vs. locale  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Responses Re: Regexps vs. locale  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
List pgsql-hackers
Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
> Obviously, this happens because the locale support functions in
> backend/regex/regc_locale.c are (presumably intentionally) crippled so
> as not to support non-ascii chars, despite all the code there using
> wide chars for everything otherwise.

It's not so much intentional as that no one has gotten around to making
it work.  The difficulty is that the wide-char codes we are using might
not match what the <wctype.h> functions expect, and it's unclear what
we could do to fix that.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Multiplexing SUGUSR1
Next
From: Tom Lane
Date:
Subject: Re: Synchronous replication: sleeping