Skip to content
Snippets Groups Projects
Commit e5bb0f04 authored by Heikki Linnakangas's avatar Heikki Linnakangas
Browse files

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.
parent 53e72292
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment