Re: Localization (for dates) Oracle vs. Postgresql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Amin Schoeib" <aschoeib(at)4tek(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Localization (for dates) Oracle vs. Postgresql
Date: 2003-09-03 14:20:41
Message-ID: 13002.1062598841@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Amin Schoeib" <aschoeib(at)4tek(dot)de> writes:
> I want to change for example for one session the date-format from english to german, so that
> The month names for example march will be Mrz in German.
> I only need that for the monthnames.

I think you can do this if you are willing to use to_char() to format
the dates for display. There's no provision for such localization in
the basic date or timestamp datatypes, though.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris Boget 2003-09-03 14:21:49 Re: Trunc in Postgres
Previous Message Amin Schoeib 2003-09-03 14:15:08 Re: Trunc in Postgres