| От | Tom Lane |
|---|---|
| Тема | Re: Subtraction carry bug in xlog.c in 7.3 and 7.4 |
| Дата | |
| Msg-id | 17802.1056118498@sss.pgh.pa.us обсуждение |
| Ответ на | Subtraction carry bug in xlog.c in 7.3 and 7.4 ("J.R. Nield" <jrnield@usol.com>) |
| Ответы |
Re: Subtraction carry bug in xlog.c in 7.3 and 7.4
|
| Список | pgsql-hackers |
"J.R. Nield" <jrnield@usol.com> writes:
> The attached patches against 7.3 and 7.4 fix a subtraction carry bug in
> xlog.c.
This is simply a waste of cycles, because xrecoff can never be zero
(if it were, it'd be pointing at a page header, which is not a valid
record location). If you look around in the code, you'll note that
xrecoff==0 is actually used as an invalid-value flag in a couple of
contexts.
Can you point to anyplace where the behavior would change? If so
I think there's a deeper bug to fix.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера