pgsql: Allow interrupting GetMultiXactIdMembers

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Allow interrupting GetMultiXactIdMembers
Дата
Msg-id E1XpLjQ-0005WK-Il@gemulon.postgresql.org
обсуждение исходный текст
Список 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_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/137e4da6df75a671d53bcc1e66097533c93c8732

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: Add valgrind suppression for pg_atomic_init_u64.
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Allow interrupting GetMultiXactIdMembers