Re: The IYYY mess again

From: David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
To: pgsql-docs(at)postgresql(dot)org
Subject: Re: The IYYY mess again
Date: 2014-12-29 19:00:52
Message-ID: 1419879652755-5832322.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Tom Lane-2 wrote
> In bug #12367
> http://www.postgresql.org/message-id/

> 20141229031218(dot)8013(dot)51171(at)(dot)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.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2014-12-29 19:12:31 Re: The IYYY mess again
Previous Message Steve Atkins 2014-12-29 17:13:33 Re: The IYYY mess again