Re: Call for 7.5 feature completion - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Call for 7.5 feature completion
Date
Msg-id 200508270452.j7R4qju28721@candle.pha.pa.us
Whole thread Raw
In response to Re: Call for 7.5 feature completion  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Michael Fuhr
Date:
Subject: EXPLAIN with view: bogus varno: 5
Next
From: Oleg Bartunov
Date:
Subject: Re: EXPLAIN with view: bogus varno: 5