Re: Localization (for dates) Oracle vs. Postgresql

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

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 März in German.
I only need that for the monthnames.
Is this possible to make that for example for one session.

-----Ursprüngliche Nachricht-----
Von: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Gesendet: Mittwoch, 3. September 2003 16:00
An: Amin Schoeib
Cc: pgsql-general(at)postgresql(dot)org
Betreff: Re: [GENERAL] Localization (for dates) Oracle vs. Postgresql

"Amin Schoeib" <aschoeib(at)4tek(dot)de> writes:
> Now I want to know if it is possible (when yes the how?) in Postgresql
> To set dynamically the Localization? For example in Oracle you can set
> the Localization for dates like this

What exactly do you want to localize?

The DATESTYLE setting and the various LC_xxx settings might help. We do not have the ability to change LC_COLLATE or LC_CTYPE on the fly, unfortunately.

regards, tom lane

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-09-03 14:13:45 Re: Using oids
Previous Message Pavel Stehule 2003-09-03 13:56:13 Re: Trunc in Postgres