pgsql: Fix instance of elog() called while holding a spinlock

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Fix instance of elog() called while holding a spinlock
Дата
Msg-id E1jgeaQ-0003WE-9J@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix instance of elog() called while holding a spinlock

This broke the project rule to not call any complex code while a
spinlock is held.  Issue introduced by b89e151.

Discussion: https://postgr.es/m/20200602.161518.1399689010416646074.horikyota.ntt@gmail.com
Backpatch-through: 9.5

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b41a85f5331751bf4f85abc5e75229620a0aa988

Modified Files
--------------
src/backend/replication/logical/logical.c | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Don't call palloc() while holding a spinlock, either.
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Fix comment in be-secure-openssl.c