From: georg.kindermann@gmx.at
To: pgsql-bugs@postgresql.org
Subject: BUG #7942: Timestamp "19991231 240000" should not be out of range
Date: Thu, 14 Mar 2013 08:47:42 +0000
Message-ID: <E1UG3p8-00014S-4D@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 7942
Logged by: Georg Kindermann
Email address: georg.kindermann@gmx.at
PostgreSQL version: 9.1.8
Operating system: Debian Wheezy
Description:
select cast('19991231 240000' as timestamp);
--Produces >ERROR: timestamp out of range<
select cast('20000101 000000' as timestamp);
--Works
--For other years both styles work e.g
select cast('19981231 240000' as timestamp);
select cast('19990101 000000' as timestamp);
--1999 to 2000 is no Leap second. Is there something other special? Thanks!
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: georg.kindermann@gmx.at
Subject: Re: BUG #7942: Timestamp "19991231 240000" should not be out of range
In-Reply-To: <E1UG3p8-00014S-4D@wrigleys.postgresql.org>
References: <E1UG3p8-00014S-4D@wrigleys.postgresql.org>
* 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