pgsql: interval: tighten precision specification

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема pgsql: interval: tighten precision specification
Дата
Msg-id E1XfV28-0001Sh-2H@gemulon.postgresql.org
обсуждение исходный текст
Список 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

Details
-------
http://git.postgresql.org/pg/commitdiff/417f92484da8c9a124e7eece8dbfb71f688a0104

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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: doc: restrictions on alter database moving default tablespace
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: Shorten warning about hash creation