lc_time not working?

From: "J(dot) Hondius" <jhondius(at)rem(dot)nl>
To: pgsql-general(at)postgresql(dot)org
Subject: lc_time not working?
Date: 2013-01-07 14:45:25
Message-ID: 50EADF85.6030503@rem.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi All,
please advise

I'm not getting my PostgreSQL 9.2 to return the correct lc_time
See psql output below.
lc_monetary and the lc's do work correctly

postgresql.conf is set to lc_time = 'nl_NL'
the output of locale -a includes nl_NL

[root(at)d01 ~]# psql db user
psql (9.2.1)
Type "help" for help.

openwave001=# select set_config('lc_time', 'nl_NL', true);
set_config
------------
nl_NL
(1 row)

openwave001=# select to_char(now(),'dd month day yyyy');
to_char
-----------------------------
07 january monday 2013
(1 row)

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2013-01-07 15:13:19 Re: lc_time not working?
Previous Message kenyon 2013-01-06 09:57:34 currval of sequence xxx_seq is not yet defined in this session?