Re: aclchk.c refactor

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: aclchk.c refactor
Дата
Msg-id 2507.1132592260@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: aclchk.c refactor  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-patches
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Now I noticed that there are multiple functions pg_class_aclmask,
> pg_database_aclmask, pg_language_aclmask, etc.  Is there any objection
> to making the exported routine expose the object type as an AclKind
> parameter instead of having one function for each object type?

How about "in addition to" instead of "instead"?  I see no reason to
impose extra notation and a level of indirection on the places that know
perfectly well which object type they are dealing with.

            regards, tom lane

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: aclchk.c refactor
Следующее
От: Tom Lane
Дата:
Сообщение: Re: drop database if exists