OSDN Git Service

Cope with the likelihood that setlocale and localeconv will return
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 29 Sep 2001 21:16:30 +0000 (21:16 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 29 Sep 2001 21:16:30 +0000 (21:16 +0000)
commit8ca61476e0c6fb73e17c405d46cae701c7b7d959
treeb60fcd79611af80fa100e8b8ddb714fc517c512a
parentdc05a996c519bac1889aec1b3e7c63fd7d942dfc
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.
src/backend/utils/adt/pg_locale.c
src/include/utils/pg_locale.h