pgsql: Fix page modification outside of critical section in GIN

Поиск
Список
Период
Сортировка
От Alexander Korotkov
Тема pgsql: Fix page modification outside of critical section in GIN
Дата
Msg-id E1iXAuR-0001k9-Cn@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Fix page modification outside of critical section in GIN
Список pgsql-committers
Fix page modification outside of critical section in GIN

By oversight 52ac6cd2d0 makes ginDeletePage() sets pd_prune_xid of page to be
deleted before entering the critical section.  It appears that only versions 11
and later were affected by this oversight.

Backpatch-through: 11

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b107140804817cc30a4069b1bb5545aa3ea0ce6c

Modified Files
--------------
src/backend/access/gin/ginvacuum.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: pgsql: Fix traversing to the deleted GIN page via downlink
Следующее
От: Alexander Korotkov
Дата:
Сообщение: pgsql: Fix page modification outside of critical section in GIN