From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Allow interrupting GetMultiXactIdMembers |
Date: | 2014-11-14 18:36:28 |
Message-ID: | E1XpLjQ-0005WI-Ig@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/51f9ea25dc4296948eb851a851bb60e0860c70a1
Modified Files
--------------
src/backend/access/transam/multixact.c | 1 +
1 file changed, 1 insertion(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2014-11-14 19:33:55 | pgsql: Reduce disk footprint of brin regression test |
Previous Message | Andres Freund | 2014-11-14 16:38:06 | pgsql: Add valgrind suppression for pg_atomic_init_u64. |