Hi Andy, Do you want to package this up as a patch for 9.1? If not, is it OK if I do? -Kevin Andy Balholm <a...@balholm.com> wrote: > On Apr 1, 2010, at 7:57 AM, Kevin Grittner wrote: >> I'm inclined to think it's better to have an explicit cast from >> money to numeric, as long as it is exact, and leave the division >> of money by money as float8. It does sort of beg the question of >> whether we should support a cast back in the other direction, >> though. I think that would wrap this all up in a tidy package. > > OK. Here is the whole thing in C: > > [implementation as user-side functions]
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers