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: | PostgreSQL-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Using YY-MM-DD date input |
Date: | 2003-07-28 20:18:02 |
Message-ID: | 200307282018.h6SKI3p10204@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > I assume that the datestyle has to be set to YMD for this to work as
> > outlined above, right, and that 97-01-01 will throw an error unless the
> > datestyle is YMD.
>
> Right, no more heuristics (other than assuming YYYY-MM-DD if the first
> field is written with four digits). With 2-digit fields, the field
> order will be taken to be whatever datestyle says it is.
Great.
> > Yes, second one is most recent version.
>
> Thanks, I'll work from that.
Great.
Still working on the regression test failures.
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Larry Rosenman | 2003-07-28 20:33:35 | Re: Using YY-MM-DD date input |
Previous Message | Tom Lane | 2003-07-28 20:16:31 | Re: Using YY-MM-DD date input |