Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[NOVICE] How to set lc_numeric in Postgres permanently for specific database?

8 views
Skip to first unread message

szyk100

unread,
Jun 20, 2016, 7:26:18 AM6/20/16
to
Hi
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

Tom Lane

unread,
Jun 20, 2016, 9:41:06 AM6/20/16
to
=?UTF-8?Q?szyk100?= <szy...@o2.pl> 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


--
Sent via pgsql-novice mailing list (pgsql-...@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice

0 new messages