Re: PGSQL - FAQ 4.1 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PGSQL - FAQ 4.1
Date
Msg-id 12968.1010073066@sss.pgh.pa.us
Whole thread Raw
In response to Re: PGSQL - FAQ 4.1  (Thomas Lockhart <lockhart@fourpalms.org>)
Responses Re: PGSQL - FAQ 4.1  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Thomas Lockhart <lockhart@fourpalms.org> writes:
> Is it the case that LC_NUMERIC or
> other settings would affect numeric *input*?

No, because we don't accept those settings from the environment;
if you look in main.c, you'll see that only LC_MESSAGES, 
LC_CTYPE, LC_COLLATE, and LC_MONETARY are accepted.

to_char does look at additional locale settings, I believe, but in
general we ignore LC_NUMERIC.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: SET DATESTYLE to time_t style for client libraries?
Next
From: Thomas Lockhart
Date:
Subject: Re: datetime error?