]> granicus.if.org Git - postgresql/commit
Fix an ancient typo that prevented the detection of conflicting fields when
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 2 Aug 2010 01:24:54 +0000 (01:24 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 2 Aug 2010 01:24:54 +0000 (01:24 +0000)
commitfbcf2cfb53513b9ade1c897e088aeb27252c43d7
tree7a560db8ec0a1079c25d4a836b710d89abbe4997
parent67becf8d41a082eaaf6db6e0860d49409b79e32b
Fix an ancient typo that prevented the detection of conflicting fields when
interval input "invalid" was specified together with other fields.  Spotted
by Neil Conway with the help of a clang warning.  Although this has been
wrong since the interval code was written more than 10 years ago, it doesn't
affect anything beyond which error message you get for a wrong input, so not
worth back-patching very far.
src/backend/utils/adt/datetime.c
src/interfaces/ecpg/pgtypeslib/interval.c