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 still don't know how behaviour is right.

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

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply via email to