clean up obsolete initdb locale handling

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема clean up obsolete initdb locale handling
Дата
Msg-id eeaf2f99-a1a6-8aca-3f43-9ab0b2fb112a@2ndquadrant.com
обсуждение исходный текст
Ответы Re: clean up obsolete initdb locale handling  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
A long time ago, we changed LC_COLLATE and LC_CTYPE from cluster-wide to
per-database (61d967498802ab86d8897cb3c61740d7e9d712f6).  There is some
leftover code from that in initdb.c and backend/main/main.c to pass
these environment variables around in the expectations that the backend
will write them to pg_control during bootstrap, which is of course all a
lie now.

The attached patch cleans that up.  (Not totally sure about the WIN32
block, but the change seems good to me.)

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Вложения

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

Предыдущее
От: Chapman Flack
Дата:
Сообщение: Re: Locale support
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PG_TRY()/CATCH() in a loop reports uninitialized variables