From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-sql@postgresql.org
Subject: Re: How to get localized to_char(DATE) output
Date: Thu, 06 May 2010 08:42:40 +0200
Message-ID: <hrtod0$hom$1@dough.gmane.org> (raw)
In-Reply-To: <29894.1273099886@sss.pgh.pa.us>
References: <hrsr9s$6n7$1@dough.gmane.org>
<29894.1273099886@sss.pgh.pa.us>
Tom Lane, 06.05.2010 00:51:
> Thomas Kellerer<spam_eater@gmx.net> writes:
>> I'm trying to get the output of the to_char(date, text) method in German but I can't get it to work:
>
> I think you need 'TMMon' to get a localized month name.
>
> regards, tom lane
>
Ah! Silly me. Now that you write this I can see it in the manual ;)
The manual says the value for lc_time is OS dependent and indeed "set lc_time = 'German'" does not work on Solaris.
Is there a way to get a list of allowed values for lc_time for a specific installation?
Thanks for your help
Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: spam_eater@gmx.net
Subject: Re: How to get localized to_char(DATE) output
In-Reply-To: <hrtod0$hom$1@dough.gmane.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox