Does EXEC_BACKEND mode still need to propagate setlocale settings?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Does EXEC_BACKEND mode still need to propagate setlocale settings?
Дата
Msg-id 24885.1247076995@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: Does EXEC_BACKEND mode still need to propagate setlocale settings?  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-hackers
The recent bug report about CheckMyDatabase() failing to use
pg_perm_setlocale() led me to look for other uses of setlocale() that
might be wrong.  I found two fishy calls in restore_backend_variables().
I am thinking though that the correct fix is to delete them and get
rid of the overhead of transmitting the postmaster's setlocale settings
to child processes this way.  A regular backend is going to do
CheckMyDatabase momentarily, and in any case it seems to me that the
postmaster hasn't bothered to change these values off the system defaults
and so there is no need to do anything special to inherit its values.

Comments?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: 8.4.0 vs. locales vs. pl/perl?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [pgsql-www] commitfest.postgresql.org