Neil Conway <neilc(at)samurai(dot)com> writes:
> When integer datetimes are in use, the legal range of the "date" type
> actually exceeds that of the "timestamp" type. However, the cast from
> date => timestamp fails to take this into account:
Fixed, but I didn't bother to back-patch it.
regards, tom lane