pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@enterprisedb.com>
To: Noah Misch <noah@leadboat.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Avoid race in RelationBuildDesc() affecting CREATE INDEX CONCURR
Date: Wed, 9 Feb 2022 16:27:39 +0100
Message-ID: <c6738ae0-04ce-3e4d-64f7-48dab8c22145@enterprisedb.com> (raw)
In-Reply-To: <20220209054141.GA3058164@rfd.leadboat.com>
References: <E1meSUe-0004WX-H2@gemulon.postgresql.org>
	<df7b4c0b-7d92-f03f-75c4-9e08b269a716@enterprisedb.com>
	<20220209004347.mnwaoiv5x7dntuvi@alap3.anarazel.de>
	<20220209020403.GA3002372@rfd.leadboat.com>
	<20220209054141.GA3058164@rfd.leadboat.com>

On 2/9/22 06:41, Noah Misch wrote:
>
> The explanation was more boring than that.  v13 and earlier have an additional
> InvalidateSystemCaches() call site, which I neglected to update.  Here's the
> fix I intend to push.

I tried this patch on 10 and 13, and it seems to fix the issue. So +1.

regards

-- 
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company





view thread (18+ messages)

Message-ID: <c6738ae0-04ce-3e4d-64f7-48dab8c22145@enterprisedb.com>
Permalink:  ../c6738ae0-04ce-3e4d-64f7-48dab8c22145@enterprisedb.com/
Also on:    postgresql.org/message-id/c6738ae0-04ce-3e4d-64f7-48dab8c22145@enterprisedb.com

 · 

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: tomas.vondra@enterprisedb.com, noah@leadboat.com, andres@anarazel.de, pgsql-hackers@postgresql.org
  Subject: Re: pgsql: Avoid race in RelationBuildDesc() affecting CREATE INDEX CONCURR
  In-Reply-To: <c6738ae0-04ce-3e4d-64f7-48dab8c22145@enterprisedb.com>
  References: <E1meSUe-0004WX-H2@gemulon.postgresql.org> <df7b4c0b-7d92-f03f-75c4-9e08b269a716@enterprisedb.com> <20220209004347.mnwaoiv5x7dntuvi@alap3.anarazel.de> <20220209020403.GA3002372@rfd.leadboat.com> <20220209054141.GA3058164@rfd.leadboat.com> <c6738ae0-04ce-3e4d-64f7-48dab8c22145@enterprisedb.com>

* 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