| От | Tom Lane |
|---|---|
| Тема | Re: Bug in StartupSUBTRANS |
| Дата | |
| Msg-id | 17161.1455043504@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Bug in StartupSUBTRANS (Simon Riggs <simon@2ndQuadrant.com>) |
| Ответы |
Re: Bug in StartupSUBTRANS
|
| Список | pgsql-hackers |
Simon Riggs <simon@2ndQuadrant.com> writes:
> Your patch looks right to me, so I will commit, barring objections... with
> backpatch. Likely to 9.0, AFAICS.
9.0 is out of support and should not be patched anymore.
I agree that the patch is basically correct, though I'd personally
write it without bothering with the extra variable:
+ /* must account for wraparound */
+ if (startPage > TransactionIdToPage(0xFFFFFFFF))
+ startPage = 0;
Also, the comment at line 45 is now wrong and needs an addition.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера