| 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 19:48:02 |
| Message-ID: | 200307281948.h6SJm2r26567@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > So this means that when you have YMD, that 03-01-01 is Jan 1, 2003?
>
> That's the idea.
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.
> BTW, is the second version of Greg's patch on your unapplied-patches
> page the latest one? I wasn't keeping track.
Yes, second one is most recent version.
--
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 | Dmitry Tkach | 2003-07-28 19:48:13 | Re: CREATE TABLE with REFERENCE |
| Previous Message | fabricio | 2003-07-28 19:42:50 | translate referential integrity violation |