Re: Mysteries of the future

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: y(dot)saburov(at)gmail(dot)com
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Mysteries of the future
Date: 2024-04-11 14:20:38
Message-ID: 171647.1712845238@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

PG Doc comments form <noreply(at)postgresql(dot)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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message David G. Johnston 2024-04-11 14:34:14 Re: Mysteries of the future
Previous Message PG Doc comments form 2024-04-10 15:00:22 Mysteries of the future