Fix cash_in() to behave properly in locales where frac_digits is zero,
commite4bc7fbf7b7c5b523ec88b9f64fd59c1ffd15c74
authortgl <tgl>
Wed, 10 Jun 2009 16:31:32 +0000 (10 16:31 +0000)
committertgl <tgl>
Wed, 10 Jun 2009 16:31:32 +0000 (10 16:31 +0000)
tree699930e86016a893e2b059f889310d29c5bea0aa
parent63a3cffa068321bcb1827444d17794d1702c1b9b
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