diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/utils/cache/relmapper.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/backend/utils/cache/relmapper.c b/src/backend/utils/cache/relmapper.c index 306832eb24b..6f214957bf8 100644 --- a/src/backend/utils/cache/relmapper.c +++ b/src/backend/utils/cache/relmapper.c @@ -837,8 +837,11 @@ perform_relmap_update(bool shared, const RelMapFile *updates) else memcpy(&newmap, &local_map, sizeof(RelMapFile)); - /* Apply the updates to newmap. No new mappings should appear. */ - merge_map_updates(&newmap, updates, false); + /* + * Apply the updates to newmap. No new mappings should appear, unless + * somebody is adding indexes to system catalogs. + */ + merge_map_updates(&newmap, updates, allowSystemTableMods); /* Write out the updated map and do other necessary tasks */ write_relmap_file(shared, &newmap, true, true, true, |