On Thu, 14 Mar 2024 at 22:15, Maciek Sakrejda <m.sakre...@gmail.com> wrote: > In this case, the end user with access to Postgres superuser > privileges presumably also has access to the outside configuration > mechanism. The goal is not to prevent them from changing settings, but > to offer guard rails that prevent them from changing settings in a way > that will be unstable (revertible by a future update) or confusing > (not showing up in a management UI).
Great explanation! Attached is a much changed patch that updates to docs and code to reflect this. I particularly liked your use of the word "guard rail" as that reflects the intent of the feature very well IMO. So I included that wording in both the GUC group and the error code.
v3-0001-Add-enable_alter_system-GUC.patch
Description: Binary data