refactor ExecGrant_*() functions

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема refactor ExecGrant_*() functions
Дата
Msg-id 22c7e802-4e7d-8d87-8b71-cba95e6f4bcf@enterprisedb.com
обсуждение исходный текст
Ответы Re: refactor ExecGrant_*() functions  (Andres Freund <andres@anarazel.de>)
Re: refactor ExecGrant_*() functions  (Antonin Houska <ah@cybertec.at>)
Список pgsql-hackers
Continuing the ideas in [0], this patch refactors the ExecGrant_Foo() 
functions and replaces many of them by a common function that is driven 
by the ObjectProperty table.

It would be nice to do more here, for example ExecGrant_Language(), 
which has additional non-generalizable checks, but I think this is 
already a good start.  For example, the work being discussed on 
privileges on publications [1] would be able to take good advantage of this.


[0]: 
https://www.postgresql.org/message-id/95c30f96-4060-2f48-98b5-a4392d3b6066@enterprisedb.com
[1]: https://www.postgresql.org/message-id/flat/20330.1652105397@antos
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bharath Rupireddy
Дата:
Сообщение: Re: Introduce a new view for checkpointer related stats
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Improve performance of pg_strtointNN functions