From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: interval: tighten precision specification |
Date: | 2014-10-18 14:31:04 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
interval: tighten precision specification
interval precision can only be specified after the "interval" keyword if
no units are specified.
Previously we incorrectly checked the units to see if the precision was
legal, causing confusion.
Report by Alvaro Herrera
Branch
------
master
Modified Files
--------------
src/backend/parser/gram.y | 54 ++++++--------------------------
src/test/regress/expected/interval.out | 10 ------
src/test/regress/sql/interval.sql | 2 --
3 files changed, 9 insertions(+), 57 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2014-10-18 14:36:13 | pgsql: Shorten warning about hash creation |
Previous Message | Bruce Momjian | 2014-10-18 14:23:46 | pgsql: doc: restrictions on alter database moving default tablespace |