Thread: pgsql/src include/utils/pg_locale.h backend/ut ...

pgsql/src include/utils/pg_locale.h backend/ut ...

From
tgl@postgresql.org
Date:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    01/09/29 17:16:30

Modified files:
    src/include/utils: pg_locale.h
    src/backend/utils/adt: pg_locale.c

Log message:
    Cope with the likelihood that setlocale and localeconv will return
    pointers to data that will be changed by any later call to setlocale.
    Must copy what they return to be sure we get the right answer.
    Karel Zak, further tweaks by Tom Lane.