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

Started by Michael Paquierabout 6 years ago1 messagescomitters
Jump to latest
#1Michael Paquier
michael@paquier.xyz

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: /messages/by-id/20200602.161518.1399689010416646074.horikyota.ntt@gmail.com
Backpatch-through: 9.5

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5ed8b4a981ed37b3cb934e72aea36503eb8d987d

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