]> granicus.if.org Git - postgresql/commit
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)
commit2ef8c1acfd5a1f81020c3eb2916f9dcfaeeec48c
tree6d200762ff529503a44ad12516257e5485c0c3b8
parent09cba66235debe843ca05e2a7452e707846cc838
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