]> granicus.if.org Git - postgresql/commit
Arrange to set the LC_XXX environment variables to match our locale
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 Dec 2005 23:22:51 +0000 (23:22 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 Dec 2005 23:22:51 +0000 (23:22 +0000)
commitab51bbaa06b4363a7397a1f394902ad57ed52fc9
treefce620abf844eac5ad32b471935665f2951f7326
parentb6c881ce6227e239f59e07a177208841b14d1ec6
Arrange to set the LC_XXX environment variables to match our locale
setup.  This protects against undesired changes in locale behavior
if someone carelessly does setlocale(LC_ALL, "") (and we know who
you are, perl guys).
src/backend/access/transam/xlog.c
src/backend/main/main.c
src/backend/utils/adt/pg_locale.c
src/include/utils/pg_locale.h