Re: BUG #4845: cash_in is broken for lc_monetary = 'ja' - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #4845: cash_in is broken for lc_monetary = 'ja'
Date
Msg-id 1640.1244647347@sss.pgh.pa.us
Whole thread Raw
In response to BUG #4845: cash_in is broken for lc_monetary = 'ja'  ("Itagaki Takahiro" <itagaki.takahiro@oss.ntt.co.jp>)
List pgsql-bugs
"Itagaki Takahiro" <itagaki.takahiro@oss.ntt.co.jp> writes:
> The type input function for money is broken
> if lc_monetary is set to zero-precision locale.
> Since Japanese "yen" has no decimal fractions,
> lconv.frac_digits is 0 when lc_monetary = 'ja'.

Looks like a good fix, will apply.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Simon Bertrang
Date:
Subject: Re: Re: patch to fix configure(.in) on openbsd wrt/ krb5/com_err and readline linking
Next
From: Dhaval Jaiswal
Date:
Subject: Re: to_timestamp error handling.