Re: Timestamp/Interval proposals: Part 2

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Timestamp/Interval proposals: Part 2
Дата
Msg-id 200206110936.39264.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: Timestamp/Interval proposals: Part 2  (Karel Zak <zakkr@zf.jcu.cz>)
Ответы Re: Timestamp/Interval proposals: Part 2  (Karel Zak <zakkr@zf.jcu.cz>)
Re: Timestamp/Interval proposals: Part 2  (Hannu Krosing <hannu@tm.ee>)
Список pgsql-hackers
Karel,

>  The to_interval() will have another (you wanted) behaviour.

Please, please, please do not use to_interval for text formatting of
intervals.   It's very inconsistent with the naming of other conversion
functions, and will confuse the heck out of a lot of users.  As well as
messing up my databases, which have to_interval as a replacement for the
problematically named "interval" function.

--
-Josh Berkus

______AGLIO DATABASE SOLUTIONS___________________________                                       Josh Berkus  Complete
informationtechnology     josh@agliodbs.com   and data management solutions     (415) 565-7293  for law firms, small
businesses     fax 621-2533   and non-profit organizations.     San Francisco 



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: New string functions; initdb required
Следующее
От: Karel Zak
Дата:
Сообщение: Re: Timestamp/Interval proposals: Part 2