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:44 +0000 (16:31 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 10 Jun 2009 16:31:44 +0000 (16:31 +0000)
commit0e4fb9c6504970c490194ce589fae909c6c12109
tree9769f447b9a65171c27f37eea0cb38d9a7b727ae
parent1236e18563b7283936e22dd74abb6195e54b0ed9
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