hardcoded decimal point '.'

From: Sergey Anpilov <anps(at)mail(dot)ru>
To: pgsql-hackers(at)postgresql(dot)org
Subject: hardcoded decimal point '.'
Date: 2004-12-30 18:18:36
Message-ID: 200412302118.36820.anps@mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

NUMERIC data type is hardcoded to use '.' as the decimal point.
FLOATs are in fact hardcoded the same way (they use strtod() and sprintf()
while pgsql's LC_NUMERIC is always "C").
The only data type that localizes decimal point is MONEY.

it makes many problems when the decimal point is not '.' (for example, ',').

is it a bug or a feature?

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-12-30 18:22:54 TODO item: make world safe for spaces in build/install paths
Previous Message Manfred Koizar 2004-12-30 17:41:47 Re: Shared row locking