pgsql: Fix cash_in() to behave properly in locales where frac_digits is - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix cash_in() to behave properly in locales where frac_digits is
Date
Msg-id 20090610163149.E6CB275331E@cvs.postgresql.org
Whole thread Raw
List 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:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        cash.c (r1.66 -> r1.66.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/cash.c?r1=1.66&r2=1.66.2.1)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix cash_in() to behave properly in locales where frac_digits is
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix cash_in() to behave properly in locales where frac_digits is