Re: cast from integer to money

Joey Adams <joeyadams3.14159@gmail.com>

From: Joseph Adams <joeyadams3.14159@gmail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Stephen Frost <sfrost@snowman.net>, Kevin Grittner <Kevin.Grittner@wicourts.gov>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2011-04-05T05:10:56Z
Lists: pgsql-hackers

Attachments

Attached is an updated version of the patch to allow conversion of
int4/int8 directly to money.  I added overflow checks, dropped
int2->cash, and updated the documentation.


- Joey