• Tom Lane's avatar
    Allow new relmapper entries when allow_system_table_mods is true. · f70f095c
    Tom Lane authored
    This restores the pre-9.0 situation that it's possible to add new indexes
    on pg_class and other mapped-but-not-shared catalogs, so long as you broke
    the glass and flipped the big red Dont-Touch-Me switch.  As before, there
    are a lot of gotchas, and you'd have to be pretty desperate to try this
    on a production database; but there doesn't seem to be a reason for
    relmapper.c to be preventing such things all by itself.  Per
    experimentation with a case suggested by Cody Cutrer.
    f70f095c
relmapper.c 26.7 KB