pageinspect some function no need superuser priv

Поиск
Список
Период
Сортировка
От jian he
Тема pageinspect some function no need superuser priv
Дата
Msg-id CACJufxHA74kt6pqJTwKmQ_EzZApJ1fXK2sURESyT=kc71r0E9g@mail.gmail.com
обсуждение исходный текст
Ответы Re: pageinspect some function no need superuser priv
Список pgsql-hackers
hi.

just came to my mind.

If you're the table owner, you should be allowed to use get_raw_page (and other
pageinspect module functions)?
We can use RangeVarGetRelidExtended with
RangeVarCallbackOwnsRelation to perform the ownership check.

Attached is a draft POC.
Am I missing anything obvious?

Вложения

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