Re: pgsql: Fix pg_size_pretty() to avoid overflow for inputs close to INT64
В списке pgsql-committers по дате отправления:
| От | Dave Page |
|---|---|
| Тема | Re: pgsql: Fix pg_size_pretty() to avoid overflow for inputs close to INT64 |
| Дата | |
| Msg-id | BANLkTimPoW34bbADmVvNW71-Q7F3OS3EYw@mail.gmail.com обсуждение |
| Ответ на | 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 |
On Thu, Apr 28, 2011 at 9:05 PM, Alvaro Herrera <alvherre@commandprompt.com> wrote: > Excerpts from Dave Page's message of jue abr 28 16:33:44 -0300 2011: > >> I think we may have to award Sun (or whats left of them) the "Bizarre >> compiler bug of the week" award here. It's actually the val++; that's >> causing the assertion, but I'm darned if I can get it to work. I've >> tried spelling out the addition, casting, changing val to an int64*, >> renaming val, and probably a dozen or so things that are broken, all >> with no success. > > Err, val = val + 1? That's what I meant by "spelling out the addition". -- Dave Page PostgreSQL Core Team http://www.postgresql.org/
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера