If you have variable length arguments to 'to_char()', you may not be able to succesfully use it.
Joseph Shraibman wrote:
> Dennis Gearon wrote:
>
>> write a pl/pgsql function that outputs the format, based on receiving
>> the interval in seconds.
>>
> I don't want to do something so complicated. There is already a
> to_char() method, I just want to know what I should pass into it.
>
>