Re: [HACKERS] Locale number format confusion

2002-08-09 Thread Karel Zak

On Thu, Aug 08, 2002 at 11:19:04PM +0200, Peter Eisentraut wrote:
 It seems we need a smart plan for handling the decimal point vs. comma
 issue.  Observe:  (lc_numeric = de_DE)
 ^^
It seems like hellish toy... :-)

Karel

-- 
 Karel Zak  [EMAIL PROTECTED]
 http://home.zf.jcu.cz/~zakkr/
 
 C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly



Re: [HACKERS] Locale number format confusion

2002-08-08 Thread Tom Lane

Peter Eisentraut [EMAIL PROTECTED] writes:
 I propose that we do this (probably by writing our own strtod and
 friends).  If you want to format your numbers to local convention,
 to_char() can be used.

Why are we allowing LC_NUMERIC to become active at all?  IMHO this is a
bug that you have recently introduced ... just take that code out again.

regards, tom lane

---(end of broadcast)---
TIP 6: Have you searched our list archives?

http://archives.postgresql.org