Numeric type

Поиск
Список
Период
Сортировка
Искать

Numeric type

От:
Alan Roberto Romaniuc <romaniuc@klais.com.br>
Дата:

Hi,
 Where I live, We have a numeric like ####,### , but postgres default 
is a dot (like ####.###).
How can I change that??? A change my locale (to pt_BR) and restarted 
postgreql, but it didn work....

Any Help?



Re: Numeric type

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Alan Roberto Romaniuc  writes:
>   Where I live, We have a numeric like ####,### , but postgres default 
> is a dot (like ####.###).
> How can I change that?

I believe the output of to_char() is locale-dependent.  The regular
display is not (and shouldn't be, IMHO, because it would make
dump/reload too chancy).
		regards, tom lane

FAQ