]> 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:49 +0000 (16:31 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 10 Jun 2009 16:31:49 +0000 (16:31 +0000)
commita9492ff138c6e081d337ae03e146756f931ac351
treead2148bd010f9bbbc13d267d243a7597ddc342ba
parentb3452713ff4647d1140ed6774392a95afdb1038e
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