pgsql: Fix rd_firstRelfilenodeSubid for nailed relations, in parallel w - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Fix rd_firstRelfilenodeSubid for nailed relations, in parallel w
Date
Msg-id E1kGBlh-0006rl-9Z@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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
------
master

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

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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Implement streaming mode in ReorderBuffer.
Next
From: Amit Kapila
Date:
Subject: Re: pgsql: Implement streaming mode in ReorderBuffer.