Someone on IRC just reported this to_char() failure with negative
intervals:test=> SELECT to_char('-00:17:56.886375'::interval, 'HH24:MI:SS'); to_char---------- 00:-1:-5(1 row)
Looks like a bug to me. :-)
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square,
Pennsylvania19073