From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Another fix to relmapper race condition.
Date: Thu, 24 Jun 2021 08:30:59 +0000
Message-ID: <E1lwKlH-0000J2-I8@gemulon.postgresql.org> (raw)
Another fix to relmapper race condition.
In previous commit, I missed that relmap_redo() was also not acquiring the
RelationMappingLock. Thanks to Thomas Munro for pointing that out.
Backpatch-through: 9.6, like previous commit.
Discussion: https://www.postgresql.org/message-id/CA%2BhUKGLev%3DPpOSaL3WRZgOvgk217et%2BbxeJcRr4eR-NttP1F6Q%40ma...
Branch
------
REL_12_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/8b01a403c5cc4e070107bea04e8e285151a0a073
Modified Files
--------------
src/backend/utils/cache/relmapper.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
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: heikki.linnakangas@iki.fi
Subject: Re: pgsql: Another fix to relmapper race condition.
In-Reply-To: <E1lwKlH-0000J2-I8@gemulon.postgresql.org>
References: <E1lwKlH-0000J2-I8@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