Re: wrong behavior using to_char()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: wrong behavior using to_char()
Дата
Msg-id 16678.1158274356@sss.pgh.pa.us
обсуждение исходный текст
Ответ на wrong behavior using to_char()  ("Euler Taveira de Oliveira" <euler@timbira.com>)
Ответы Re: wrong behavior using to_char()  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-bugs
"Euler Taveira de Oliveira" <euler@timbira.com> writes:
> In the pt_BR locale, the thousand separator is "". So it should return
> 12345,670. Looking at the source, I saw that the test cases for locale
> properties are independent among them. I think that the correct form is to
> have all-or-nothing test case or didn't test *lconv->property ("" is
> evaluated to false). Attached is a patch that fixes it using the second
> option.

Not unless you have a solution to the problem seen in this thread:
http://archives.postgresql.org/pgsql-patches/2006-02/msg00172.php

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Euler Taveira de Oliveira"
Дата:
Сообщение: wrong behavior using to_char()
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: wrong behavior using to_char()