pgsql: Allow interrupting GetMultiXactIdMembers - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Allow interrupting GetMultiXactIdMembers
Date
Msg-id E1XpLjQ-0005WL-Iq@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Allow interrupting GetMultiXactIdMembers

This function has a loop which can lead to uninterruptible process
"stalls" (actually infinite loops) when some bugs are triggered.  Avoid
that unpleasant situation by adding a check for interrupts in a place
that shouldn't degrade performance in the normal case.

Backpatch to 9.3.  Older branches have an identical loop here, but the
aforementioned bugs are only a problem starting in 9.3 so there doesn't
seem to be any point in backpatching any further.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/d45e8dc527f9e66c56dd91ae3e79eac1b094b96e

Modified Files
--------------
src/backend/access/transam/multixact.c |    1 +
1 file changed, 1 insertion(+)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Allow interrupting GetMultiXactIdMembers
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Allow interrupting GetMultiXactIdMembers