Fix page modification outside of critical section in GIN

Enterprise / PostgreSQL - Alexander Korotkov [postgresql.org] - 19 November 2019 21:12 EST

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

b107140804 Fix page modification outside of critical section in GIN
src/backend/access/gin/ginvacuum.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Upstream: git.postgresql.org


  • Share