pgsql: Fix encoding issue when lc_monetary or lc_numeric are different

From: itagaki(at)postgresql(dot)org (Takahiro Itagaki)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix encoding issue when lc_monetary or lc_numeric are different
Date: 2010-04-22 01:55:52
Message-ID: 20100422015552.4B7E07541D0@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix encoding issue when lc_monetary or lc_numeric are different encoding
from lc_ctype, that could happen on Windows. We need to change lc_ctype
together with lc_monetary or lc_numeric, and convert strings in lconv
from lc_ctype encoding to the database encoding.

The bug reported by Mikko, original patch by Hiroshi Inoue,
with changes by Bruce and me.

Modified Files:
--------------
pgsql/src/backend/utils/adt:
pg_locale.c (r1.53 -> r1.54)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/pg_locale.c?r1=1.53&r2=1.54)

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2010-04-22 02:15:45 pgsql: Further reductions in Hot Standby conflict processing.
Previous Message User Itagaki 2010-04-22 01:29:08 reorg - pg_reorg: pg_reorg 1.1.1.