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