Re: Bug in date arithmetic

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Bug in date arithmetic
Дата
Msg-id 4A933E95.5050909@agliodbs.com
обсуждение исходный текст
Ответ на Re: Bug in date arithmetic  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom,

> we preferentially consider unknown_literal to be of the same type
> as the other operand.

I can't really think of what other assumption we would make.  Any time a
user doesn't specify a type, they're taking pot luck.

Me, I always use some_timestamp + INTERVAL 'value' ....

-- 
Josh Berkus
PostgreSQL Experts Inc.
www.pgexperts.com


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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Bug in visibility hint bit
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: DELETE syntax on JOINS