Fix rd_firstRelfilenodeSubid for nailed relations, in parallel workers.

Noah Misch <noah@leadboat.com>

Commit: 6f15be5bedfc423b8a8f2f0282e2a0eb20a16663
Author: Noah Misch <noah@leadboat.com>
Date: 2020-09-10T01:50:32Z
Releases: 13.0
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

Files

Discussion