Fix instance of elog() called while holding a spinlock

Michael Paquier <michael@paquier.xyz>

Commit: 5ed8b4a981ed37b3cb934e72aea36503eb8d987d
Author: Michael Paquier <michael@paquier.xyz>
Date: 2020-06-04T01:18:11Z
Releases: 10.14
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

Files

PathChange+/−
src/backend/replication/logical/logical.c modified +16 −8

Discussion