Re: Call for 7.5 feature completion

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Call for 7.5 feature completion
Дата
Msg-id 200508270452.j7R4qju28721@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Call for 7.5 feature completion  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Ron Mayer wrote:
> >> * more sane math with intervals. For example, try:
> >> select '0.01 years'::interval, '0.01 months'::interval;
> 
> > Added to TODO:
> 
> >     Fix SELECT '0.01 years'::interval, '0.01 months'::interval;
> 
> Arguably, both of those things should be rejected as errors.
> What is a fraction of a year?  Or a month?

What does the standard say we should do with these?  Isn't this like
interval division, which does work?

--  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 по дате отправления:

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: EXPLAIN with view: bogus varno: 5
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: EXPLAIN with view: bogus varno: 5