pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Kellerer <spam_eater@gmx.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: How to get localized to_char(DATE) output
Date: Thu, 06 May 2010 10:22:07 -0400
Message-ID: <16103.1273155727@sss.pgh.pa.us> (raw)
In-Reply-To: <hru6l8$567$1@dough.gmane.org>
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>
	<hru6l8$567$1@dough.gmane.org>

Thomas Kellerer <spam_eater@gmx.net> writes:
> Jasen Betts, 06.05.2010 11:57:
>>> Is there a way to get a list of allowed values for lc_time for a specific installation?

>> Looks like "locale -a" does it on linux, that may be worth a try.

> Thanks for the answer. Is there a way to get this information from within a SQL statement?

No.  Postgres doesn't know anything about that.  "locale -a" should work
on pretty much any Unix-ish system, but I dunno what the equivalent on
Windows would be.

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <16103.1273155727@sss.pgh.pa.us>
Permalink:  ../16103.1273155727@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16103.1273155727@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, spam_eater@gmx.net
  Subject: Re: How to get localized to_char(DATE) output
  In-Reply-To: <16103.1273155727@sss.pgh.pa.us>

* 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