MCPcopy Create free account
hub / github.com/apache/cloudberry / RelationMapInitializePhase2

Function RelationMapInitializePhase2

src/backend/utils/cache/relmapper.c:610–623  ·  view source on GitHub ↗

* RelationMapInitializePhase2 * * This is called to prepare for access to pg_database during startup. * We should be able to read the shared map file now. */

Source from the content-addressed store, hash-verified

608 * We should be able to read the shared map file now.
609 */
610void
611RelationMapInitializePhase2(void)
612{
613 /*
614 * In bootstrap mode, the map file isn't there yet, so do nothing.
615 */
616 if (IsBootstrapProcessingMode())
617 return;
618
619 /*
620 * Load the shared map file, die on error.
621 */
622 load_relmap_file(true, false);
623}
624
625/*
626 * RelationMapInitializePhase3

Callers 1

Calls 1

load_relmap_fileFunction · 0.85

Tested by

no test coverage detected