Re: BUG #2056: to_char no long takes time as input? - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2056: to_char no long takes time as input?
Date
Msg-id 27565.1133496410@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2056: to_char no long takes time as input?  ("Nick Addington" <adding@math.wisc.edu>)
List pgsql-bugs
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Oh, one more thing.  With the new patch I just posted, '0 hours' and
> 'HH' returns 12:

>     test=> select to_char('0 hours'::interval, 'HH');
>      to_char
>     ---------
>      12
>     (1 row)

Yeah, it's done that in every release since 7.2.  8.1.0 is the only
release that thinks 00 is correct.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Seneca Cunningham
Date:
Subject: Re: BUG #2083: initdb fails with: child process was terminated
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #2056: to_char no long takes time as input?