Re: to_char and i18n
Manuel Sugawara <masm@fciencias.unam.mx>
From: Manuel Sugawara <masm@fciencias.unam.mx>
To: "Qingqing Zhou" <zhouqq@cs.toronto.edu>
Cc: pgsql-hackers@postgresql.org
Date: 2005-12-22T04:10:43Z
Lists: pgsql-hackers
"Qingqing Zhou" <zhouqq@cs.toronto.edu> writes: > Can you give a small introduction of i18n and what's your plan in > PostgreSQL? i18n == Internationalization (maybe I should say l10n == localization). This means that to_char functions might lead to different results depending on the i18n settings. For instance, nowadays, select to_char(now(), 'dd-mon-yy') returns 21-dec-05 regardless of the i18n settings. This should lead 21-dic-05 in the es_MX localization. This also applies to the concurrency symbol, thousand separator, etc. (Some time ago I proposed an--incomplete--patch and it was rejectd by Karel arguing that to_char functions should behave *exactly* the same way that they do in Oracle.) Regards, Manuel.