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 wrong backpatching of ginRedoDeletePage() deadlock fix
Date: Thu, 13 Dec 2018 19:38:47 +0000
Message-ID: <E1gXWop-0007CQ-Q0@gemulon.postgresql.org> (raw)

Fix wrong backpatching of ginRedoDeletePage() deadlock fix

19cf52e6cc changes lock order in ginRedoDeletePage().  But did it in a wrong
way due to oversight during backpatching.  This commit fixes that.

Reported-by: Bruce Momjian
Discussion: https://postgr.es/m/20181213153232.GA10664%40momjian.us

Branch
------
REL9_4_STABLE

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

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



Message-ID: <E1gXWop-0007CQ-Q0@gemulon.postgresql.org>
Permalink:  ../E1gXWop-0007CQ-Q0@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gXWop-0007CQ-Q0@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: akorotkov@postgresql.org
  Subject: Re: pgsql: Fix wrong backpatching of ginRedoDeletePage() deadlock fix
  In-Reply-To: <E1gXWop-0007CQ-Q0@gemulon.postgresql.org>
  References: <E1gXWop-0007CQ-Q0@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