pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David G Johnston <david.g.johnston@gmail.com>
To: pgsql-docs@postgresql.org
Subject: Re: The IYYY mess again
Date: Mon, 29 Dec 2014 12:00:52 -0700 (MST)
Message-ID: <1419879652755-5832322.post@n5.nabble.com> (raw)
In-Reply-To: <5888.1419865569@sss.pgh.pa.us>
References: <5888.1419865569@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



view thread (6+ messages)  latest in thread

Message-ID: <1419879652755-5832322.post@n5.nabble.com>
Permalink:  ../1419879652755-5832322.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1419879652755-5832322.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: david.g.johnston@gmail.com
  Subject: Re: The IYYY mess again
  In-Reply-To: <1419879652755-5832322.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox