Andy Balholm <[email protected]> writes:
> I tried rewriting my function to use numeric, but I discovered that numeric
> division is not exact. (Otherwise SELECT 1::numeric / 3::numeric would result
> in an infinite loop.) So I went back to my float8 version and wrote a cast
> from money to numeric.
That's hardly an improvement if you're concerned about lack of
exactness.
regards, tom lane
--
Sent via pgsql-bugs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs