Fix a bug in input processing for the "interval" type. Previously,
authorNeil Conway <[email protected]>
Tue, 29 May 2007 04:59:15 +0000 (04:59 +0000)
committerNeil Conway <[email protected]>
Tue, 29 May 2007 04:59:15 +0000 (04:59 +0000)
commit6e26df2ffd5a31d76cd90ddc5db27e3796ff221b
tree2b81bd934ebd9046dd21c53fa834490924b680fd
parent0fc1ec67ca018905ac880e1063918bc2a0abc666
Fix a bug in input processing for the "interval" type. Previously,
"microsecond" and "millisecond" units were not considered valid input
by themselves, which caused inputs like "1 millisecond" to be rejected
erroneously.

Update the docs, add regression tests, and backport to 8.2 and 8.1
doc/src/sgml/datatype.sgml
src/backend/utils/adt/datetime.c
src/include/utils/datetime.h
src/test/regress/expected/interval.out
src/test/regress/sql/interval.sql