| От | Tom Lane |
|---|---|
| Тема | Re: The notorious to_char bug |
| Дата | |
| Msg-id | 17921.1032361939@sss.pgh.pa.us обсуждение |
| Ответ на | The notorious to_char bug (greg@turnstep.com) |
| Ответы |
Re: The notorious to_char bug
|
| Список | pgsql-hackers |
greg@turnstep.com writes:
> (From the SQL list:)
>> And we know it is a bug:
>> * to_char(0,'FM999.99') returns a period, to_char(1,'FM999.99') does not
> I took a look at this bug a week ago, and noticed that inside of the file
> src/backend/utils/adt/formatting.c
> we are specifically causing the above behavior, perhaps in an effort to
> mimic Oracle's implementation of it.
Hm. Can anyone try these cases on Oracle? If the code goes out of its
way to have this odd behavior, maybe it's because Oracle does too.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера