]> granicus.if.org Git - postgresql/commit
Improve documentation of ParseDateTime(). Reorder tests to prevent
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 5 Aug 2003 18:30:21 +0000 (18:30 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 5 Aug 2003 18:30:21 +0000 (18:30 +0000)
commit630684d3a130bb9381e5256b24d248d6a751d59f
tree4aff876f3bde01ac2a86058dab48eb3b854dd070
parent9d41073f04b903fdb428ce31009a3342920daa44
Improve documentation of ParseDateTime().  Reorder tests to prevent
writing one more value into return arrays than will fit.  This is
potentially a stack smash, though I do not think it is a problem in
current uses of the routine, since a failure return causes elog anyway.
src/backend/utils/adt/datetime.c
src/include/utils/datetime.h