Re: to_char() and negative intervals - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: to_char() and negative intervals
Date
Msg-id 200408161443.i7GEhAS05897@candle.pha.pa.us
Whole thread Raw
In response to Re: to_char() and negative intervals  (Karel Zak <zakkr@zf.jcu.cz>)
Responses Re: to_char() and negative intervals
List pgsql-hackers
Karel Zak wrote:
> On Fri, Aug 13, 2004 at 12:24:28PM -0400, Tom Lane wrote:
> > Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > > Someone on IRC just reported this to_char() failure with negative
> > > intervals:
> > 
> > I think Karel wanted to remove to_char(interval) altogether.
> 
>  Yes, the notice about it is already in 7.4 docs. Maybe we can remove
>  it in 7.5/8.0. Comments?

I don't see how we can remove it in 8.0 unless we require an initdb. 
What we could do is to throw an error/warning in the code and remove it
completely in 8.1.

--  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
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: plpgsql NULL statement (was Re: [GENERAL] Postgres
Next
From: Bruce Momjian
Date:
Subject: COPY with column headings