Re: The IYYY mess again - Mailing list pgsql-docs

From David G Johnston
Subject Re: The IYYY mess again
Date
Msg-id 1419879652755-5832322.post@n5.nabble.com
Whole thread Raw
In response to The IYYY mess again  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: The IYYY mess again
List pgsql-docs
Tom Lane-2 wrote
> In bug #12367
> http://www.postgresql.org/message-id/

> 20141229031218.8013.51171@.postgresql

>
> There is a warning against combining IYYY with MM/DD, but it's buried
> in trivia far down the page.

Can we move this warning/notice into code?  Basically warn/disallow
IYYY-MM-DD (and similar) as a valid format?

And why not make it an error.  If someone really needed to output mixed
modes they would be able to concatenate the two halves together to get the
desired result so it isn't like we are making it impossible to accomplish -
but the typical mistake goes away.

David J.




--
View this message in context: http://postgresql.nabble.com/The-IYYY-mess-again-tp5832272p5832322.html
Sent from the PostgreSQL - docs mailing list archive at Nabble.com.


pgsql-docs by date:

Previous
From: Steve Atkins
Date:
Subject: Re: The IYYY mess again
Next
From: Tom Lane
Date:
Subject: Re: The IYYY mess again