Re: to_char(interval) --- done?

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: to_char(interval) --- done?
Date: 2003-03-24 10:45:55
Message-ID: 20030324104555.GC23810@zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Mar 24, 2003 at 04:34:38AM -0600, Larry Rosenman wrote:
>
>
> --On Monday, March 24, 2003 09:40:46 +0100 Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
> wrote:
>
> >On Fri, Mar 21, 2003 at 03:32:11PM -0800, Josh Berkus wrote:
> >>Folks,
> >>
> >>Some months ago we agreed on this list that the functioning of
> >>to_char(interval) was not particularly useful the way it works in
> >>current stable versions. I don't see a to_char fix on the TODO list,
> >>though; does that mean it's already been fixed in 7.4?
> >
> > No. There was short discussion about it last week.
> >
> I volunteered to look into it, but got a sorta negative reply from Peter_E,
> but no
> response to my request for suggestions.

I don't check where is a problem in detail, but I will fix something
in to_char() code now and I will try check interval problem too. I
think the basic problem is in interval2tm() function -- maybe we will
need some other method how convert interval to 'tm' struct (the
to_char() code is based on 'tm').

I'm open for all suggestions and volunteers of course.

Karel

--
Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
http://home.zf.jcu.cz/~zakkr/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message A Mohan 2003-03-24 11:16:06 How to store & retrieve Binary Data?
Previous Message Larry Rosenman 2003-03-24 10:34:38 Re: to_char(interval) --- done?