+ {
+ {"allow_system_table_mods", PGC_BACKEND, DEVELOPER_OPTIONS,
+ gettext_noop("Allows modifications of the structure of system tables."),
+ NULL,
+ GUC_NOT_IN_SAMPLE
+ },
+ &allowSystemTableMods,
+ false, NULL, NULL
+ },
Don't we need something to prevent non-superusers from setting this?
IIRC, PGC_BACKEND vars can be set via PGOPTIONS.
regards, tom lane