Re: lc_numeric and decimal delimiter

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: lc_numeric and decimal delimiter
Дата
Msg-id 20051108212305.GA1837@surnet.cl
обсуждение исходный текст
Ответ на lc_numeric and decimal delimiter  (Gavin Sherry <swm@linuxworld.com.au>)
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Creager
Дата:
Сообщение: Re: Assert failure found in 8.1RC1
Следующее
От: "Cristian Prieto"
Дата:
Сообщение: Troubles with array_ref