Re: Time intervals in select statement

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Time intervals in select statement
Дата
Msg-id 12694.1098170195@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Time intervals in select statement  (Luke McFarlane <luke@fisheye.com.au>)
Ответы Re: Time intervals in select statement  (Luke McFarlane <luke@fisheye.com.au>)
Список pgsql-bugs
Luke McFarlane <luke@fisheye.com.au> writes:
> SELECT create_time, create_time - '8 days 16:49:22.600601' FROM foo;

> ERROR:  invalid input syntax for type timestamp: "8 days 16:49:22.600601"

Cast the constant to interval explicitly.

            regards, tom lane

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

Предыдущее
От: Luke McFarlane
Дата:
Сообщение: Time intervals in select statement
Следующее
От: Luke McFarlane
Дата:
Сообщение: Re: Time intervals in select statement