Re: dividing money by money

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>, Andy Balholm <andy@balholm.com>, pgsql-hackers@postgresql.org
Date: 2010-07-16T05:17:43Z
Lists: pgsql-hackers
On tor, 2010-07-15 at 22:25 -0400, Tom Lane wrote:
> "Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> > Andy Balholm <andy@balholm.com> wrote:
> >> On Jun 21, 2010, at 11:47 AM, Kevin Grittner wrote:
> >> I deleted the excess comments and moved some lines around. Here it
> >> is with the changes.
>  
> > I ran pgindent to standardize the white space.  (No changes of
> > substance.)  Patch attached.
>  
> > I'll mark it "Ready for Committer".
> 
> Applied with some editorial changes.

I didn't see any discussion about why this should return float8 rather
than numeric.  It seems wrong to use float8 for this.