BUG #6178: date_trunc : interval units "week" not supported contradicts documentation
В списке pgsql-bugs по дате отправления:
| От | Noah Hamerslough |
|---|---|
| Тема | BUG #6178: date_trunc : interval units "week" not supported contradicts documentation |
| Дата | |
| Msg-id | 201108251905.p7PJ5YLe075723@wwwmaster.postgresql.org обсуждение |
| Ответы |
Re: BUG #6178: date_trunc : interval units "week" not
supported contradicts documentation
|
| Список | pgsql-bugs |
The following bug has been logged online: Bug reference: 6178 Logged by: Noah Hamerslough Email address: noah@pcc.com PostgreSQL version: 8.4 Operating system: Windows Vista Description: date_trunc : interval units "week" not supported contradicts documentation Details: http://www.postgresql.org/docs/8.4/static/functions-datetime.html#FUNCTIONS- DATETIME-TRUNC The documentation for date_trunc('field', source) lists 'week' in the as a valid value for 'field' However, if the source is an interval, 'week' is not supported. select date_trunc('week', '1 month 15 days'::interval); ERROR: interval units "week" not supported SQL state: 0A000 Either 'week' should be supported or the documentation should be updated to reflect that it is not.
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера