Re: Call for 7.5 feature completion

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Call for 7.5 feature completion
Date: 2005-08-27 04:52:45
Message-ID: 200508270452.j7R4qju28721@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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(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

Browse pgsql-hackers by date

  From Date Subject
Next Message Oleg Bartunov 2005-08-27 05:52:19 Re: EXPLAIN with view: bogus varno: 5
Previous Message Michael Fuhr 2005-08-27 02:45:42 EXPLAIN with view: bogus varno: 5