Re: Interval Precision

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Jake Stride <nsuk(at)users(dot)sourceforge(dot)net>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Interval Precision
Date: 2005-04-08 19:37:48
Message-ID: 20050408193748.GA9662@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Fri, Apr 08, 2005 at 20:17:45 +0100,
Jake Stride <nsuk(at)users(dot)sourceforge(dot)net> wrote:
>
> ' Warning: |to_char|(interval, text) is deprecated and should not be
> used in newly-written code. It will be removed in the next version.'

That isn't cast in stone at this point. The problem is that there are
some significant problems with to_char and interval now and some people
feel that getting rid of it is better than providing a broken feature.
If someone comes up with an acceptable spec and implements it for 8.1,
it won't go away.

If it does go away, the fallback is to use EXTRACT and some math.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Steve Crawford 2005-04-08 20:39:31 Re: Interval Precision
Previous Message Bruno Wolff III 2005-04-08 19:21:48 Re: Interval Precision