Fix cash_in() to behave properly in locales where frac_digits is zero,
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 10 Jun 2009 16:31:32 +0000 (16:31 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 10 Jun 2009 16:31:32 +0000 (16:31 +0000)
commite66b2519e2b6fbd82b6eb4f9ebf2aad30a4c5a22
tree715f7815cdbcf286bf813d3c9ed8e3cf85515845
parenteb422e141d3f977f1177dc4279112a56fa531db7
Fix cash_in() to behave properly in locales where frac_digits is zero,
eg Japan.  Report and fix by Itagaki Takahiro.  Also fix CASHDEBUG printout
format for branches with 64-bit money type, and some minor comment cleanup.

Back-patch to 7.4, because it's broken all the way back.
src/backend/utils/adt/cash.c