pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix page modification outside of critical section in GIN
Date: Tue, 19 Nov 2019 21:19:39 +0000
Message-ID: <E1iXAuR-0001k9-Cn@gemulon.postgresql.org> (raw)

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(-)



view thread (7+ messages)  latest in thread

Message-ID: <E1iXAuR-0001k9-Cn@gemulon.postgresql.org>
Permalink:  ../E1iXAuR-0001k9-Cn@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iXAuR-0001k9-Cn@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: akorotkov@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix page modification outside of critical section in GIN
  In-Reply-To: <E1iXAuR-0001k9-Cn@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox