Re: interval( 'seconds 27960' ) is broken

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: interval( 'seconds 27960' ) is broken
Дата
Msg-id 26364.989286370@sss.pgh.pa.us
обсуждение исходный текст
Ответ на interval( 'seconds 27960' ) is broken  (pgsql-bugs@postgresql.org)
Список pgsql-bugs
pgsql-bugs@postgresql.org writes:
> In 7.0.3, I'm converting seconds from midnight to a time of
> day using interval ( 'seconds <val>').  This worked fine in
> 7.0.3 and gives a Bad interval external representation message
> in 7.1.

This has never been the intended or documented format; it should
be '<val> seconds'.  Allowing both is ambiguous, so I'd say that
the behavior change is a correct one.

            regards, tom lane

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

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: backend dies on 7.1.1 loading large datamodel.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: backend dies on 7.1.1 loading large datamodel.