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

From Karel Zak
Subject Re: Timestamp/Interval proposals: Part 2
Date
Msg-id 20020611184531.A22388@zf.jcu.cz
Whole thread Raw
In response to Re: Timestamp/Interval proposals: Part 2  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
On Tue, Jun 11, 2002 at 09:36:39AM -0700, Josh Berkus wrote:
>  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.
Yes, agree. It wasn't well-advised.It will probably to_char() with special 'interval' behaviour or format marks. But I
stilldon't know how behaviour is right.
 

-- Karel Zak  <zakkr@zf.jcu.cz>http://home.zf.jcu.cz/~zakkr/C, PostgreSQL, PHP, WWW, http://docs.linux.cz,
http://mape.jcu.cz


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Timestamp/Interval proposals: Part 2
Next
From: David Santinoli
Date:
Subject: Mac OS X shutdown