Re: Possible locale issue with 7.4 - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Possible locale issue with 7.4
Date
Msg-id 20030929002516.GC9973@dcc.uchile.cl
Whole thread Raw
In response to Re: Possible locale issue with 7.4  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sun, Sep 28, 2003 at 08:09:31PM -0400, Tom Lane wrote:
> Bruno Wolff III <bruno@wolff.to> writes:
> > In 7.4 I am finding that '(' (and some other punctuation) is not a member of
> > [:print:]. It is in 7.3.  It is a member of [:graph:] in 7.4 (which is
> > supposed to be [:print:] - [:space:]).
> 
> This is not a locale problem, because I see it in C locale too.
> [digs]  Apparently this is an oversight in the new regex code we 
> lifted from Tcl 8.4.1:

Here
http://cvs.sourceforge.net/viewcvs.py/tcl/tcl/generic/regc_locale.c?rev=1.10&view=auto

is the Tcl version.  Is looks very similar (meaning, :print: is the
same as :alnum:).  Note that the code hasn't changed since
Mon Jul 29 12:27:51 2002 UTC

but is marked with tags to version 8.4.4.

Maybe not too much people uses :print: ?

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"A wizard is never late, Frodo Baggins, nor is he early.
He arrives precisely when he means to."  (Gandalf, en LoTR FoTR)


pgsql-hackers by date:

Previous
From: Gaetano Mendola
Date:
Subject: Re: Problem with function permission test in a view
Next
From: Bruno Wolff III
Date:
Subject: Re: Possible locale issue with 7.4