diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2014-11-14 15:14:02 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2014-11-14 15:14:02 -0300 |
commit | d45e8dc527f9e66c56dd91ae3e79eac1b094b96e (patch) | |
tree | 1d2382d2ff61aef12d5fb456508fd35999b59519 /src/backend/access/transam/xlog.c | |
parent | 9fc8871212d3000c2964698dfc844b94ba049599 (diff) | |
download | postgresql-d45e8dc527f9e66c56dd91ae3e79eac1b094b96e.tar.gz postgresql-d45e8dc527f9e66c56dd91ae3e79eac1b094b96e.zip |
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.
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions