Re: [PATCHES] to_char(FM9.9) bug fix

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] to_char(FM9.9) bug fix
Дата
Msg-id 3571.1032557538@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] to_char(FM9.9) bug fix  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Karel Zak writes:
>> test=# select to_char(0,'FM9.9');
>> to_char
>> ---------
>> 0.
>> (1 row)
>> 
>> test=# select to_char(1,'FM9.9');
>> to_char
>> ---------
>> 1.
>> (1 row)

> I find this highly bizzare.

No doubt, but it's what Oracle does (see tests posted to the lists by
several people) and to_char exists to duplicate Oracle behavior.  This
is hardly the silliest aspect of to_char's definition, IMHO ...
        regards, tom lane


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

Предыдущее
От: John Buckman
Дата:
Сообщение: Lyris looking to help fix PostgresSQL crashing problems
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Lyris looking to help fix PostgresSQL crashing problems