Re: initdb detecting date order

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-patches(at)postgresql(dot)org
Subject: Re: initdb detecting date order
Date: 2005-12-09 02:45:34
Message-ID: 200512090245.jB92jYb01895@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Tom Lane wrote:
> Peter Eisentraut <peter_e(at)gmx(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2005-12-09 03:03:35 Re: initdb detecting date order
Previous Message Tom Lane 2005-12-09 01:56:50 Re: initdb detecting date order