pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix _bt_allequalimage() call within critical section.
Date: Wed, 23 Aug 2023 15:13:03 +0000
Message-ID: <E1qYpXa-000UsZ-P9@gemulon.postgresql.org> (raw)

Fix _bt_allequalimage() call within critical section.

_bt_allequalimage() does complicated things, so it's not OK to call it
in a critical section. Per buildfarm failure on 'prion', which uses
-DRELCACHE_FORCE_RELEASE -DCATCACHE_FORCE_RELEASE options.

Discussion: https://www.postgresql.org/message-id/6e5bbc08-cdfc-b2b3-9e23-1a914b9850a9@iki.fi
Backpatch-through: 16, like commit ccadf73163 that introduced this

Branch
------
master

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

Modified Files
--------------
src/backend/access/nbtree/nbtree.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)



view thread (2+ messages)

Message-ID: <E1qYpXa-000UsZ-P9@gemulon.postgresql.org>
Permalink:  ../E1qYpXa-000UsZ-P9@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qYpXa-000UsZ-P9@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix _bt_allequalimage() call within critical section.
  In-Reply-To: <E1qYpXa-000UsZ-P9@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