Re: Granting SET and ALTER SYSTE privileges for GUCs
| От | Tom Lane |
|---|---|
| Тема | Re: Granting SET and ALTER SYSTE privileges for GUCs |
| Дата | |
| Msg-id | 2212504.1649117555@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Granting SET and ALTER SYSTE privileges for GUCs (Mark Dilger <mark.dilger@enterprisedb.com>) |
| Ответы |
Re: Granting SET and ALTER SYSTE privileges for GUCs
|
| Список | pgsql-hackers |
Mark Dilger <mark.dilger@enterprisedb.com> writes:
> On Apr 4, 2022, at 2:26 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> So I think that instead of what you've got here, we should
>> (1) apply the map_old_guc_names[] mapping, which is constant
>> (for any one PG release anyway)
>> (2) smash to lower case
>> (3) verify validity per valid_variable_name.
>>
>> This also simplifies life on the lookup side, where it's sufficient
>> to do steps (1) and (2) before performing a catalog search.
>>
>> Thoughts?
> That sounds right. Do you already have something like that coded, or would you like me to post a patch?
Wrote it already, no need for you to do it.
regards, tom lane
В списке pgsql-hackers по дате отправления: