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: "Karel Zak" <zakkr(at)zf(dot)jcu(dot)cz>, pgsql-general(at)postgresql(dot)org
Subject: Re: Localization (for dates) Oracle vs. Postgresql
Date: 2003-09-03 15:23:53
Message-ID: 18879.1062602633@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:
> Is there maybe any other???

The only other suggestion I can make is to write your own formatting
function. It'd be a pain in the neck to build a general-purpose one,
but you could handle a fixed output format with just a few lines of code
in plpgsql. (Might be even easier in plperl or pltcl.) That would
probably tide you over until to_char() has more locale support.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bo Lorentsen 2003-09-03 15:24:11 Re: Using oids
Previous Message Pavel Stehule 2003-09-03 15:11:10 Re: Trunc in Postgres