]> granicus.if.org Git - postgresql/commit
Fix encoding issue when lc_monetary or lc_numeric are different encoding
authorItagaki Takahiro <itagaki.takahiro@gmail.com>
Thu, 22 Apr 2010 01:55:52 +0000 (01:55 +0000)
committerItagaki Takahiro <itagaki.takahiro@gmail.com>
Thu, 22 Apr 2010 01:55:52 +0000 (01:55 +0000)
commit95a777c612c6dcebe2f17c57c35f7e7c93714484
tree75b3519371aae5a32b7b7573035f84420b5f4857
parenta6dcd19a2a5064d753c1d5aa756a2d50cf05842d
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.
src/backend/utils/adt/pg_locale.c