Re: Bug 1500

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bug 1500
Date: 2005-03-26 23:39:42
Message-ID: 25031.1111880382@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2005-03-26 23:56:43 Re: Bug 1500
Previous Message Alvaro Herrera 2005-03-26 23:13:02 Re: Bug 1500