Fix "ERROR: could not read size of rel ..." in many regression tests.

We were incorrectly skipping the call to communicator_new_rel_create(),
which resulted in an error during index build, when the btree build code
tried to check the size of the newly-created relation.
This commit is contained in:
Heikki Linnakangas
2025-07-02 14:08:26 +03:00
parent bf01145ae4
commit 2cc28c75be

View File

@@ -829,6 +829,8 @@ neon_create(SMgrRelation reln, ForkNumber forkNum, bool isRedo)
if (!communicator_new_rel_exists(InfoFromSMgrRel(reln), forkNum))
communicator_new_rel_create(InfoFromSMgrRel(reln), forkNum);
}
else
communicator_new_rel_create(InfoFromSMgrRel(reln), forkNum);
}
else
{