Possible locale issue with 7.4

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Possible locale issue with 7.4
Date: 2003-09-28 23:47:41
Message-ID: 20030928234741.GA31973@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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:]).

The following is my 7.4 config:
./configure --prefix=/usr/local/pgsql --enable-integer-datetimes --with-pgport=5433

For 7.3 I used:
./configure --prefix=/usr/lib/pgsql --exec-prefix=/usr --with-perl --with-openssl --mandir=/usr/man --docdir=/usr/doc --enable-integer-datetimes

The following is an example of the problem:
area=> select version();
version
------------------------------------------------------------------------
PostgreSQL 7.4beta3 on i686-pc-linux-gnu, compiled by GCC egcs-2.91.66
(1 row)

area=> select '(' ~ '[[:print:]]';
?column?
----------
f
(1 row)

area=> select '(' ~ '[[:graph:]]';
?column?
----------
t
(1 row)

area=> select '0' ~ '[[:print:]]';
?column?
----------
t
(1 row)

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Inoue 2003-09-28 23:50:09 Re: pgsql-server/src/backend catalog/index.c comma ...
Previous Message Alvaro Herrera 2003-09-28 23:43:36 Re: more i18n/l10n issues