pgsql: Revert XactLockTableWait context setup in conditional multixact - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Revert XactLockTableWait context setup in conditional multixact
Date
Msg-id E1XM02G-00048m-CJ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Revert XactLockTableWait context setup in conditional multixact wait

There's no point in setting up a context error callback when doing
conditional lock acquisition, because we never actually wait and so the
user wouldn't be able to see the context message anywhere.  In fact,
this is more in line with what ConditionalXactLockTableWait is doing.

Backpatch to 9.4, where this was added.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3adba736620c85112e0f9f6d043d3574e1c5830f

Modified Files
--------------
src/backend/access/heap/heapam.c |   11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Editorial review of SET UNLOGGED
Next
From: Alvaro Herrera
Date:
Subject: pgsql: More psprintf goodness