Re: Timestamp/Interval proposals: Part 2 - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Timestamp/Interval proposals: Part 2
Date
Msg-id 200206110936.39264.josh@agliodbs.com
Whole thread Raw
In response to Re: Timestamp/Interval proposals: Part 2  (Karel Zak <zakkr@zf.jcu.cz>)
Responses Re: Timestamp/Interval proposals: Part 2  (Karel Zak <zakkr@zf.jcu.cz>)
Re: Timestamp/Interval proposals: Part 2  (Hannu Krosing <hannu@tm.ee>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: New string functions; initdb required
Next
From: Karel Zak
Date:
Subject: Re: Timestamp/Interval proposals: Part 2