pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: y.saburov@gmail.com
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: Mysteries of the future
Date: Thu, 11 Apr 2024 10:20:38 -0400
Message-ID: <171647.1712845238@sss.pgh.pa.us> (raw)
In-Reply-To: <171276122213.681.531905738590773705@wrigleys.postgresql.org>
References: <171276122213.681.531905738590773705@wrigleys.postgresql.org>

PG Doc comments form <noreply@postgresql.org> writes:
> SELECT to_date('20000-1131', 'YYYY-MMDD');
> ERROR:  22008: date/time field value out of range: "20000-1131"

What exactly do you find wrong with that?  November doesn't have
31 days.

Sure, we could have a discussion about the probability of the
Gregorian calendar still being in use 18000 years from now,
but it doesn't seem very profitable.  What else do you want
to use?

			regards, tom lane





view thread (4+ messages)  latest in thread

Message-ID: <171647.1712845238@sss.pgh.pa.us>
Permalink:  ../171647.1712845238@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/171647.1712845238@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, y.saburov@gmail.com, pgsql-docs@lists.postgresql.org
  Subject: Re: Mysteries of the future
  In-Reply-To: <171647.1712845238@sss.pgh.pa.us>

* 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