Re: lc_time and localized dates - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: lc_time and localized dates
Date
Msg-id 200802261911.22871.peter_e@gmx.net
Whole thread Raw
In response to Re: lc_time and localized dates  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Responses Re: lc_time and localized dates
Re: lc_time and localized dates
List pgsql-patches
Am Dienstag, 26. Februar 2008 schrieb Zdenek Kotala:
> But how you handle situation when you have multi language application
> which needs correct output for all languages? You cannot use any of the
> pattern because it will be wrong for some group of languages.

This is what you get when you copy a proprietary, poorly specified interface.
The to_char functions are supposed to be Oracle-compatible, so we need to
check what Oracle does.  Whether that is useful in practice is a bit
secondary.

I'm beginning to think, if you want formatting functions that are more sane,
stable, and standardized, export sprintf and strftime to PostgreSQL.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-patches by date:

Previous
From: "Gevik Babakhani"
Date:
Subject: Re: lc_time and localized dates
Next
From: Euler Taveira de Oliveira
Date:
Subject: Re: lc_time and localized dates