Re: Using YY-MM-DD date input - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Using YY-MM-DD date input
Date
Msg-id 200307281948.h6SJm2r26567@candle.pha.pa.us
Whole thread Raw
In response to Using YY-MM-DD date input  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Using YY-MM-DD date input  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.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@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-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Using YY-MM-DD date input
Next
From: "fabricio"
Date:
Subject: translate referential integrity violation