Обсуждение: pgsql: Fix instance of elog() called while holding a spinlock

Поиск
Список
Период
Сортировка

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

От
Michael Paquier
Дата:
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
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4a9809e34d091881fd8bf6b72ded44eb50693b8d

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