Re: Rework confusing permissions for LOCK TABLE

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: Rework confusing permissions for LOCK TABLE
Дата
Msg-id 20221214172315.GA689830@nathanxps13
обсуждение исходный текст
Ответ на Rework confusing permissions for LOCK TABLE  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: Rework confusing permissions for LOCK TABLE  (Nathan Bossart <nathandbossart@gmail.com>)
Список pgsql-hackers
On Tue, Dec 13, 2022 at 06:59:48PM -0800, Jeff Davis wrote:
> I can't think of any reason for this behavior, and I didn't find an
> obvious answer in the last commits to touch that (2ad36c4e44,
> fa2642438f).

I can't think of a reason, either.

> Patch attached to simplify it. It uses the philosophy that, if you have
> permissions to lock at a given mode, you should be able to lock at
> strictly less-conflicting modes as well.

+1.  Your patch looks reasonable to me.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



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

Предыдущее
От: Nathan Bossart
Дата:
Сообщение: Re: allow granting CLUSTER, REFRESH MATERIALIZED VIEW, and REINDEX
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Amcheck verification of GiST and GIN