Re: interval * numeric operator

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: interval * numeric operator
Дата
Msg-id 200711081522.10681.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: interval * numeric operator  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
Am Donnerstag, 8. November 2007 schrieb Gregory Stark:
> Shouldn't the cast be implicit anyways? What does having double precision
> operators buy us? Wouldn't it introduce ambiguities?

Unless you use --enable-integer-datetimes, interval is stored as float 
internally, so historically, the selection of offered operators is correct.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: "Gevik Babakhani"
Дата:
Сообщение: Re: Feature Request: inline comments
Следующее
От: Tom Lane
Дата:
Сообщение: Re: A small rant about coding style for backend functions