Re: How to get localized to_char(DATE) output - Mailing list pgsql-sql

From Tom Lane
Subject Re: How to get localized to_char(DATE) output
Date
Msg-id 16103.1273155727@sss.pgh.pa.us
Whole thread Raw
In response to Re: How to get localized to_char(DATE) output  (Thomas Kellerer <spam_eater@gmx.net>)
Responses Re: How to get localized to_char(DATE) output  (Thomas Kellerer <spam_eater@gmx.net>)
List pgsql-sql
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


pgsql-sql by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: How to get localized to_char(DATE) output
Next
From: Thomas Kellerer
Date:
Subject: Re: How to get localized to_char(DATE) output