> On May 3, 2021, at 8:22 AM, Robert Haas <robertmh...@gmail.com> wrote: > > One problem with having a separate predefined role for every PGC_SUSET > GUC is that it's no help for extensions. Both auto_explain and > pg_stat_statements have such GUCs, and there may be out-of-core > extensions that do as well. We should try to come up with a system > that doesn't leave them out in the cold. As things stand, all custom variables defined via the DefineCustom{Bool,Int,Real,String,Enum}Variable are placed in the CUSTOM_OPTIONS config_group. We could add a role for controlling any SUSET CUSTOM_OPTIONS GUCs, or we could extend those functions to take a config_group option, or perhaps some of both. I haven't thought too much yet about whether allowing extensions to place a custom GUC into one of the predefined groups would be problematic. Any thoughts on that? — Mark Dilger EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
- Re: Granting control of SUSET gucs to non-superusers Tom Lane
- Re: Granting control of SUSET gucs to non-superusers Mark Dilger
- Re: Granting control of SUSET gucs to non-superuser... Isaac Morland
- Re: Granting control of SUSET gucs to non-superuser... Chapman Flack
- Re: Granting control of SUSET gucs to non-super... Mark Dilger
- Re: Granting control of SUSET gucs to non-s... Chapman Flack
- Re: Granting control of SUSET gucs to ... Robert Haas
- Re: Granting control of SUSET gucs... Chapman Flack
- Re: Granting control of SUSET gucs... Robert Haas
- Re: Granting control of SUSET gucs... Chapman Flack
- Re: Granting control of SUSET gucs... Mark Dilger
- Re: Granting control of SUSET gucs... Robert Haas
- Re: Granting control of SUSET gucs... Stephen Frost
- Re: Granting control of SUSET gucs... Tom Lane
- Re: Granting control of SUSET gucs... Robert Haas
- Re: Granting control of SUSET gucs... Stephen Frost
- Re: Granting control of SUSET gucs... Robert Haas
- Re: Granting control of SUSET gucs to non-superusers Chapman Flack
- Re: Granting control of SUSET gucs to non-superusers Michael Banck
- Re: Granting control of SUSET gucs to non-superusers Robert Haas