pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix instance of elog() called while holding a spinlock
Date: Thu, 04 Jun 2020 01:22:26 +0000
Message-ID: <E1jgeaQ-0003WB-8o@gemulon.postgresql.org> (raw)

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_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/03aa25b6e34b5f5184cfd0df71f1096c66523b72

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



view thread (6+ messages)

Message-ID: <E1jgeaQ-0003WB-8o@gemulon.postgresql.org>
Permalink:  ../E1jgeaQ-0003WB-8o@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jgeaQ-0003WB-8o@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Fix instance of elog() called while holding a spinlock
  In-Reply-To: <E1jgeaQ-0003WB-8o@gemulon.postgresql.org>
  References: <E1jgeaQ-0003WB-8o@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox