Re: Timestamp/Interval proposals: Part 2

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>, Hannu Krosing <hannu(at)tm(dot)ee>
Cc: Thomas Lockhart <lockhart(at)fourpalms(dot)org>, hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Timestamp/Interval proposals: Part 2
Date: 2002-06-11 16:36:39
Message-ID: 200206110936.39264.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 information technology josh(at)agliodbs(dot)com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Karel Zak 2002-06-11 16:45:31 Re: Timestamp/Interval proposals: Part 2
Previous Message Tom Lane 2002-06-11 16:34:59 Re: New string functions; initdb required