Re: Bug 1500 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Bug 1500
Date
Msg-id 25031.1111880382@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bug 1500  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List pgsql-hackers
Alvaro Herrera <alvherre@dcc.uchile.cl> writes:
> ...  ISTM the format string
> should allow unconverted literals, so you would use

> SELECT to_char( INTERVAL '43 hours 20 minutes', 'MI min' );

... which to_char can do already, IIRC.  The rewrite should define a new
set of format substitution codes, but not otherwise change the behavior
of to_char.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Bug 1500
Next
From: Josh Berkus
Date:
Subject: Re: Bug 1500