georg(dot)kindermann(at)gmx(dot)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