| От | Peter Geoghegan |
|---|---|
| Тема | pgsql: Update nbtree LP_DEAD item deletion comments. |
| Дата | |
| Msg-id | E1ijEsX-00010Y-L7@gemulon.postgresql.org обсуждение |
| Список | pgsql-committers |
Update nbtree LP_DEAD item deletion comments. Comments about the consequences of clearing the BTP_HAS_GARBAGE page flag bit that apply only to VACUUM were added to code that deals with opportunistic deletion of LP_DEAD items by commit a760893d. The same comment block was added to both _bt_delitems_vacuum() and _bt_delitems_delete(). Correct _bt_delitems_delete()'s copy of the comment block. _bt_delitems_delete() reliably deletes items that were found by caller to have their LP_DEAD bit set. There is no question about whether or not unsetting the BTP_HAS_GARBAGE bit can miss some LP_DEAD items that were set recently. Also tweak a related section of the nbtree README. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/fe97c61c8777858cc1a271e657a7d812e100ef00 Modified Files -------------- src/backend/access/nbtree/README | 8 ++++---- src/backend/access/nbtree/nbtpage.c | 11 ++--------- 2 files changed, 6 insertions(+), 13 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера