pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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 12:46:00 +0200
Message-ID: <hru6l8$567$1@dough.gmane.org> (raw)
In-Reply-To: <hru3qe$cp7$1@reversiblemaps.ath.cx>
References: <hrsr9s$6n7$1@dough.gmane.org>
	<29894.1273099886@sss.pgh.pa.us>
	<hrtod0$hom$1@dough.gmane.org>
	<hru3qe$cp7$1@reversiblemaps.ath.cx>

Jasen Betts, 06.05.2010 11:57:
>> 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?
>
> "man -k locale"  would be my starting point (for anything POSIXish)
>
> Looks like "locale -a" does it on linux, that may be worth a try.
>
> "de_DE" is the locale for German as used in Germany.
>
>
>
Thanks for the answer. Is there a way to get this information from within a SQL statement?

Regards
Thomas





view thread (7+ messages)  latest in thread

Message-ID: <hru6l8$567$1@dough.gmane.org>
Permalink:  ../hru6l8$567$1@dough.gmane.org/
Also on:    postgresql.org/message-id/hru6l8$567$1@dough.gmane.org

 · 

reply

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: <hru6l8$567$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