Skip site navigation (1) Skip section navigation (2)

Re: Possible locale issue with 7.4

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruno Wolff III <bruno(at)wolff(dot)to>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Possible locale issue with 7.4
Date: 2003-09-29 00:25:17
Message-ID: 20030929002516.GC9973@dcc.uchile.cl (view raw or flat)
Thread:
Lists: pgsql-hackers
On Sun, Sep 28, 2003 at 08:09:31PM -0400, Tom Lane wrote:
> Bruno Wolff III <bruno(at)wolff(dot)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)

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2003-09-29 00:27:55
Subject: Re: more i18n/l10n issues
Previous:From: Tom LaneDate: 2003-09-29 00:09:31
Subject: Re: Possible locale issue with 7.4

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group