Re: Re: Interval output format

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Stefan Waidele jun(dot)" <St(dot)Waidele(dot)jun(at)Krone-Neuenburg(dot)de>
Cc: pgsql-novice(at)postgresql(dot)org, Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
Subject: Re: Re: Interval output format
Date: 2001-01-19 02:06:00
Message-ID: 6222.979869960@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Stefan Waidele jun." <St(dot)Waidele(dot)jun(at)Krone-Neuenburg(dot)de> writes:
> At 13:37 18.01.2001 -0500, Tom Lane wrote:
> How can I tell Postgres to return an interval value in an format like
>> hhh:mm?
>>
>> See to_char(),
>> http://www.postgresql.org/devel-corner/docs/postgres/functions-formatting.htm

My mistake :-( ... I thought there was a variant of to_char for
intervals as well as timestamps, but I see there is not. Karel,
does this seem like it should be added for 7.2? (Too late for
7.1, I think.)

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2001-01-19 02:08:38 Re: Re: Interval output format
Previous Message Tom Lane 2001-01-19 01:59:29 Re: Yikes! Bitten by line length?