]> 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:25:02 +0000 (01:25 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 2 Aug 2010 01:25:02 +0000 (01:25 +0000)
commit12dbe763f31af809731a0cc2493a08091bebd4ea
tree247e5abaa4761407d598ffa77a028bfd90bc81f2
parent727117fe4e170ae860fe18d01377d0a46c4d94f2
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