Skip site navigation (1) Skip section navigation (2)

Re: lc_time and localized dates

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-patches(at)postgresql(dot)org
Cc: Zdenek Kotala <Zdenek(dot)Kotala(at)sun(dot)com>, Euler Taveira de Oliveira <euler(at)timbira(dot)com>
Subject: Re: lc_time and localized dates
Date: 2008-02-26 18:11:22
Message-ID: 200802261911.22871.peter_e@gmx.net (view raw or flat)
Thread:
Lists: 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/

In response to

Responses

pgsql-patches by date

Next:From: Euler Taveira de OliveiraDate: 2008-02-26 18:18:06
Subject: Re: lc_time and localized dates
Previous:From: Gevik BabakhaniDate: 2008-02-26 16:41:04
Subject: Re: lc_time and localized dates

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group