How to set lc_numeric in Postgres permanently for specific database?
How to set lc_numeric in Postgres permanently for specific database?
От:
szyk100 <szyk100@o2.pl>
Дата:
Hi
I want set LC_NUMERIC permanently for my databases. I know I can use
best regards
Szyk Cech
I want set LC_NUMERIC permanently for my databases. I know I can use
show LC_NUMERIC; to check current value and then set LC_NUMERIC=pl_PL;. But it only works until I disconnect. postgres.conf is no option because I have databases with different languages... Btw. I write my app in C++ with Qt under Windows (port to Linux is planed in the future). Thank you for your help.best regards
Szyk Cech
Re: How to set lc_numeric in Postgres permanently for specific database?
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
=?UTF-8?Q?szyk100?= writes: > I want set LC_NUMERIC permanently for my databases. Read https://www.postgresql.org/docs/9.5/static/config-setting.html to see all your options for doing that. regards, tom lane