pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix rd_firstRelfilenodeSubid for nailed relations, in parallel w
Date: Thu, 10 Sep 2020 01:52:57 +0000
Message-ID: <E1kGBlh-0006rm-AY@gemulon.postgresql.org> (raw)

Fix rd_firstRelfilenodeSubid for nailed relations, in parallel workers.

Move applicable code out of RelationBuildDesc(), which nailed relations
bypass.  Non-assert builds experienced no known problems.  Back-patch to
v13, where commit c6b92041d38512a4176ed76ad06f713d2e6c01a8 introduced
rd_firstRelfilenodeSubid.

Kyotaro Horiguchi.  Reported by Justin Pryzby.

Discussion: https://postgr.es/m/20200907023737.GA7158@telsasoft.com

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6f15be5bedfc423b8a8f2f0282e2a0eb20a16663

Modified Files
--------------
src/backend/utils/cache/relcache.c            | 23 +++++++++++++++--------
src/test/regress/expected/reindex_catalog.out | 10 ++++++++++
src/test/regress/sql/reindex_catalog.sql      | 11 +++++++++++
3 files changed, 36 insertions(+), 8 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1kGBlh-0006rm-AY@gemulon.postgresql.org>
Permalink:  ../E1kGBlh-0006rm-AY@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kGBlh-0006rm-AY@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: noah@leadboat.com
  Subject: Re: pgsql: Fix rd_firstRelfilenodeSubid for nailed relations, in parallel w
  In-Reply-To: <E1kGBlh-0006rm-AY@gemulon.postgresql.org>
  References: <E1kGBlh-0006rm-AY@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