Re: Call for 7.5 feature completion

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Ron Mayer <rm_pg@cheapcomplexdevices.com>, Alvaro Herrera <alvherre@alvh.no-ip.org>, pgsql-hackers@postgresql.org
Date: 2005-08-27T04:52:45Z
Lists: 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, Pennsylvania 19073