Re: How to get localized to_char(DATE) output

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Kellerer <spam_eater(at)gmx(dot)net>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: How to get localized to_char(DATE) output
Date: 2010-05-06 14:22:07
Message-ID: 16103.1273155727@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Thomas Kellerer <spam_eater(at)gmx(dot)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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Thomas Kellerer 2010-05-06 14:37:55 Re: How to get localized to_char(DATE) output
Previous Message Thomas Kellerer 2010-05-06 10:46:00 Re: How to get localized to_char(DATE) output