Re: to_char and i18n
| От | Euler Taveira de Oliveira |
|---|---|
| Тема | Re: to_char and i18n |
| Дата | |
| Msg-id | 20051222135935.505.qmail@web32711.mail.mud.yahoo.com обсуждение исходный текст |
| Ответ на | Re: to_char and i18n (Karel Zak <zakkr@zf.jcu.cz>) |
| Ответы |
Re: to_char and i18n
|
| Список | pgsql-hackers |
--- Karel Zak <zakkr@zf.jcu.cz> escreveu:
I have a patch like this. But this was for 7.4.x. I have to take a look
at it.
> That's important point. How resolve this problem Oracle? Maybe we can
> say (in docs) that with non-English locales it works with days/months
> names as in FM (fill) mode.
>
Yeah. We could make the new mode (TM?) ignores the FX mode and write a
note in docs.
> I think that for backward compatibility the locale sensitive
> to_char()
> should be implemented as separate call "to_char(datetime, format,
> locale)" or we should add new modifiers to the current to_char,
> something like "to_char(datetime, "LCMonth") or both.
>
I vote for another modifier (TM?). That's more flexible than another
function overload because to_char() implements modifiers yet.
> I don't have any time to work on to_char(), I can help to review
> patches
> only.
>
OK. I'll send a revised patch ASAP.
Euler Taveira de Oliveira
euler[at]yahoo_com_br
_______________________________________________________
Yahoo! doce lar. Faça do Yahoo! sua homepage.
http://br.yahoo.com/homepageset.html
В списке pgsql-hackers по дате отправления: