pgsql: Fix cash_in() to behave properly in locales where frac_digits is

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix cash_in() to behave properly in locales where frac_digits is
Date: 2009-06-10 16:32:03
Message-ID: 20090610163203.05045753336@cvs.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
pgsql/src/backend/utils/adt:
cash.c (r1.61 -> r1.61.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/cash.c?r1=1.61&r2=1.61.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message User Devrim 2009-06-10 18:36:26 press - pr: New Directory
Previous Message Tom Lane 2009-06-10 16:31:56 pgsql: Fix cash_in() to behave properly in locales where frac_digits is