]> granicus.if.org Git - postgresql/commit
Fix a bug in input processing for the "interval" type. Previously,
authorNeil Conway <neilc@samurai.com>
Tue, 29 May 2007 04:58:43 +0000 (04:58 +0000)
committerNeil Conway <neilc@samurai.com>
Tue, 29 May 2007 04:58:43 +0000 (04:58 +0000)
commit6af04882de5c519d7e49af8e69a031d2b3b46adc
treeb134e2f4f34897c2b0fe1a663c3d97d17f9f35f9
parente78720ff2f93dcb82484a310d86ce9875385bc20
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