Re: pgsql: Fix pg_size_pretty() to avoid overflow for inputs close to INT64
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: pgsql: Fix pg_size_pretty() to avoid overflow for inputs close to INT64 |
| Дата | |
| Msg-id | 18779.1303968115@sss.pgh.pa.us обсуждение |
| Ответ на | Re: pgsql: Fix pg_size_pretty() to avoid overflow for inputs close to INT64 (Alvaro Herrera <alvherre@commandprompt.com>) |
| Ответы |
Re: pgsql: Fix pg_size_pretty() to avoid overflow for
inputs close to INT64
|
| Список | pgsql-committers |
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Excerpts from Tom Lane's message of mié abr 27 17:10:37 -0300 2011:
>> Alvaro Herrera <alvherre@commandprompt.com> writes:
>>> Apparently this change is causing Moa's SunStudio compiler to fail an
>>> assertion.
>> [ scratches head... ] Hard to see why, there's nothing at all
>> interesting in that code.
> I agree, but it fails exactly in that code, and started to fail
> immediately after that patch.
> Maybe casting the 2 to int64 would fix it?
I'm not excited about trying random code changes to dodge a compiler bug
with a 24-hour turnaround time. Dave, can you poke at this?
regards, tom lane
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера