Re: to_char() and negative intervals

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: to_char() and negative intervals
Date: 2004-08-16 22:59:24
Message-ID: 200408162259.i7GMxOC03288@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Added to open items:

* remove to_char(interval) if we initdb

---------------------------------------------------------------------------

Alvaro Herrera wrote:
> On Mon, Aug 16, 2004 at 10:43:10AM -0400, Bruce Momjian wrote:
> > Karel Zak wrote:
> > > On Fri, Aug 13, 2004 at 12:24:28PM -0400, Tom Lane wrote:
> > > > Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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.
>
> If we force an initdb for some other reason during beta, we can remove
> to_char(interval) at that point too ...
>
> --
> Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
> "Siempre hay que alimentar a los dioses, aunque la tierra est? seca" (Orual)
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2004-08-16 23:00:21 Re: Calling PL functions with named parameters
Previous Message Christopher Browne 2004-08-16 22:52:42 Re: [ADMIN] Pseudo-Off-topic-survey: Opinions about future of Postgresql(MySQL)?