Adjust date/time input parsing code to correctly distinguish the four

Tom Lane <tgl@sss.pgh.pa.us>

Commit: d1031cdef2c8f0d9c7b3a1423649d90b8498808a
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-08-27T23:29:29Z
Releases: 7.4.1
Adjust date/time input parsing code to correctly distinguish the four
SQLSTATE error codes required by SQL99 (invalid format, datetime field
overflow, interval field overflow, invalid time zone displacement value).
Also emit a HINT about DateStyle in cases where it seems appropriate.
Per recent gripes.

Files