diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2009-07-08 17:53:32 +0000 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2009-07-08 17:53:32 +0000 |
commit | 35863c9557085d0a116ffb48dc371efe18b85fea (patch) | |
tree | c5a6a3ad299e3d8e762924b3e43bc5725acf5f84 /src/backend/utils/adt/array_userfuncs.c | |
parent | b6ff6309c252ee252605e8aa03baced064e82b04 (diff) | |
download | postgresql-35863c9557085d0a116ffb48dc371efe18b85fea.tar.gz postgresql-35863c9557085d0a116ffb48dc371efe18b85fea.zip |
Need to use pg_perm_setlocale when setting LC_CTYPE and LC_COLLATE at startup.
Otherwise, the LC_CTYPE/COLLATE setting gets reverted when using plperl, which
leads to incorrect query results and index corruption.
This was accidentally broken in the per-database locale patch in 8.4. Pointed
out by Andrew Gierth.
Diffstat (limited to 'src/backend/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions