BUG #4918: Weird input syntax for intervals

Поиск
Список
Период
Сортировка
От Frank Spies
Тема BUG #4918: Weird input syntax for intervals
Дата
Msg-id 200907131048.n6DAm1Gq033674@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #4918: Weird input syntax for intervals
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      4918
Logged by:          Frank Spies
Email address:      frank.spies@biotronik.com
PostgreSQL version: 8.4
Operating system:   Linux
Description:        Weird input syntax for intervals
Details:

It feels totally weird that the two queries

1) select interval '13 month'
2) select interval '13' month

do not have the same result: result for 1) is "1 year 1 mon", result for 2
is "1 mon". Is this correct behaviour?

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