pgsql: Revert XactLockTableWait context setup in conditional multixact

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Revert XactLockTableWait context setup in conditional multixact
Date: 2014-08-25 19:34:36
Message-ID: E1XM02G-00048o-CO@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
able wouldn't be able to see it.

Backpatch to 9.4, where this was added.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/34356933f044d5e3fa02a30ef1fe859eca20d605

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

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2014-08-25 19:35:38 pgsql: upgrade docs: highlight pg_upgrade, warn about globals preserva
Previous Message Alvaro Herrera 2014-08-25 17:54:56 pgsql: Editorial review of SET UNLOGGED