From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Gavin Sherry <swm(at)linuxworld(dot)com(dot)au> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: lc_numeric and decimal delimiter |
Date: | 2005-11-08 21:23:05 |
Message-ID: | 20051108212305.GA1837@surnet.cl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Gavin Sherry wrote:
> I am at OpenDBCon in Germany. People are complaining about floats/numerics
> not accepting German/European conventions for the delimiter point -- a
> comma. This is hard coded into the the numeric input parser but,
> naturally, we use strtod() in else where. I'm not sure about the locale
> stuff and whether it deals with it. Are we in the wrong here?
Yes. Unless you consider it reasonable to expect applications to parse
numeric input from users to change the decimal and thousands separators.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-11-08 21:26:56 | Re: lc_numeric and decimal delimiter |
Previous Message | Jim C. Nasby | 2005-11-08 21:14:34 | Re: Exclusive lock for database rename |