Re: initdb detecting date order - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: initdb detecting date order
Date
Msg-id 200512090245.jB92jYb01895@candle.pha.pa.us
Whole thread Raw
In response to Re: initdb detecting date order  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: initdb detecting date order
Next
From: Peter Eisentraut
Date:
Subject: Re: initdb detecting date order