Re: Clarification on Role Access Rights to Table Indexes
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Clarification on Role Access Rights to Table Indexes |
| Дата | |
| Msg-id | 908583.1739822263@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Clarification on Role Access Rights to Table Indexes (Ayush Vatsa <ayushvatsa1810@gmail.com>) |
| Ответы |
Re: Clarification on Role Access Rights to Table Indexes
|
| Список | pgsql-hackers |
Ayush Vatsa <ayushvatsa1810@gmail.com> writes:
>> As it stands, a superuser can prewarm an index (because she bypasses all
>> privilege checks including this one), but nobody else can.
> That's not fully true. Any role can prewarm an index if the role has the
> correct privileges.
Ah, right. An index will have null pg_class.relacl, which'll be
interpreted as "owner has all rights", so it will work for the
table owner too. Likely this explains the lack of prior complaints.
It's still a poor design IMO.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера