pgsql: Fix wrong backpatching of ginRedoDeletePage() deadlock fix

From: Alexander Korotkov <akorotkov(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix wrong backpatching of ginRedoDeletePage() deadlock fix
Date: 2018-12-13 19:38:47
Message-ID: E1gXWop-0007CQ-Q0@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-12-13 20:11:48 pgsql: Fix bogus logic for skipping unnecessary partcollation dependenc
Previous Message Tom Lane 2018-12-13 18:24:53 pgsql: Drop no-op CoerceToDomain nodes from expressions at planning tim