Re: to_char() and negative intervals

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: to_char() and negative intervals
Дата
Msg-id 20040816224104.GB3723@dcc.uchile.cl
обсуждение исходный текст
Ответ на Re: to_char() and negative intervals  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: to_char() and negative intervals  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
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@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.

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)



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Hicham G. Elmongui"
Дата:
Сообщение: pulling projection up in plans
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Calling PL functions with named parameters