Re: initdb detecting date order

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: initdb detecting date order
Дата
Msg-id 200512090245.jB92jYb01895@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: initdb detecting date order  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
> > Here's a patch for initdb detecting the date order of the lc_time locale
> > and initializing the datestyle parameter of the new cluster
> > accordingly.
>
> Er, is that really a good idea?  It will make it impossible to document
> what the "default" behavior is; among other things, this will probably
> break installcheck regression tests.

FYI, it is a TODO item, with a question mark:

    * Have initdb set the input DateStyle (MDY or DMY) based on locale?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: initdb detecting date order
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: initdb detecting date order