]> 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:32:02 +0000 (16:32 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 10 Jun 2009 16:32:02 +0000 (16:32 +0000)
commitb99bb3b21888a66a64a9d23e128995e021123709
tree12ae7d5e5937a2300289f61ed41dcf6b63637f97
parentbc4df3bf8e5c84a7a877df99eac6de2f506907b3
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