Add range checks to time_recv() and timetz_recv(), to prevent binary input
commitccf6881c8189b82d3fbcda910b97e576ef0e8ebb
authortgl <tgl>
Tue, 26 May 2009 01:29:09 +0000 (26 01:29 +0000)
committertgl <tgl>
Tue, 26 May 2009 01:29:09 +0000 (26 01:29 +0000)
treecc90124910acb03e72b4b457a319a9d3ffcb160a
parentb2fc14da3196c50b1fff8c2429bbf575d3ae4c0d
Add range checks to time_recv() and timetz_recv(), to prevent binary input
of time values that would not be accepted via textual input.
Per gripe from Andrew McNamara.

This is potentially a back-patchable bug fix, but for the moment it doesn't
seem sufficiently high impact to justify doing that.
src/backend/utils/adt/date.c