Re: [COMMITTERS] pgsql-server: Add code to identify_system_timezone() to try all zones in

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [COMMITTERS] pgsql-server: Add code to identify_system_timezone() to try all zones in
Дата
Msg-id 20040526030952.GA24543@dcc.uchile.cl
обсуждение исходный текст
Ответы Re: [COMMITTERS] pgsql-server: Add code to identify_system_timezone()
Список pgsql-hackers
On Tue, May 25, 2004 at 03:08:59PM -0300, Tom Lane wrote:

> Add code to identify_system_timezone() to try all zones in the zic
> database, not just ones that we cons up POSIX names for.  This looks
> grim but it seems to take less than a second even on a relatively slow
> machine, and since it only happens once during postmaster startup, that
> seems acceptable.

Is it possible to execute this at initdb time to set the default
timezone in postgresql.conf?  The user could get a message about what
timezone was selected, and be offered a --command-line-switch to select
a specific one.

Just an idea ...

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Ninguna manada de bestias tiene una voz tan horrible como la humana" (Orual)



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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: Optimizer Bug issue
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [COMMITTERS] pgsql-server: Add code to identify_system_timezone()