Re: BUG #7942: Timestamp "19991231 240000" should not be out of range - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #7942: Timestamp "19991231 240000" should not be out of range
Date
Msg-id 20094.1363317719@sss.pgh.pa.us
Whole thread Raw
In response to BUG #7942: Timestamp "19991231 240000" should not be out of range  (georg.kindermann@gmx.at)
List pgsql-bugs
georg.kindermann@gmx.at writes:
> select cast('19991231 240000' as timestamp);
> --Produces >ERROR:  timestamp out of range<

Oddly enough, I just fixed that last week:
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=542eeba26992305d872be699158cb3ab1c2be6e6

Weird how a bug can go unnoticed for ten years and then two people trip
over it at almost the same time.

            regards, tom lane

pgsql-bugs by date:

Previous
From: hubert depesz lubaczewski
Date:
Subject: ERROR: syntax error in tsquery - for high-unicode whitespace
Next
From: Tom Lane
Date:
Subject: Re: BUG #7943: plpgsql parsing bug