pgsql: Fix a bug in input processing for the "interval" type.

From: neilc(at)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix a bug in input processing for the "interval" type.
Date: 2007-05-29 04:59:45
Message-ID: 20070529045945.2B6039FB5A1@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
pgsql/doc/src/sgml:
datatype.sgml (r1.163.2.3 -> r1.163.2.4)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/datatype.sgml.diff?r1=1.163.2.3&r2=1.163.2.4)
pgsql/src/backend/utils/adt:
datetime.c (r1.160.2.2 -> r1.160.2.3)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/datetime.c.diff?r1=1.160.2.2&r2=1.160.2.3)
pgsql/src/include/utils:
datetime.h (r1.57 -> r1.57.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/datetime.h.diff?r1=1.57&r2=1.57.2.1)
pgsql/src/test/regress/expected:
interval.out (r1.14 -> r1.14.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/interval.out.diff?r1=1.14&r2=1.14.2.1)
pgsql/src/test/regress/sql:
interval.sql (r1.8 -> r1.8.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/interval.sql.diff?r1=1.8&r2=1.8.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Gurjeet Singh 2007-05-29 18:29:18 Re: pgsql: Create hooks to let a loadable plugin monitor (or even replace)
Previous Message Neil Conway 2007-05-29 04:59:15 pgsql: Fix a bug in input processing for the "interval" type.