Re: pageinspect: Hash index support

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: pageinspect: Hash index support
Дата
Msg-id CAMkU=1yPTX0aoqVDHEjPG57Ceh8tk3kxOYpy4UFNYgR6TPw9vw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pageinspect: Hash index support  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: pageinspect: Hash index support  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On Tue, Sep 20, 2016 at 12:19 AM, Michael Paquier <michael.paquier@gmail.com> wrote:

Note: the patch checks if a superuser is calling the new functions,
which is a good thing.

If we only have the bytea functions and the user needs to supply the raw pages themselves, rather than having the function go get the raw page for you, is there any reason to restrict the interpretation function to super users?  I guess if we don't trust the C coded functions not to dereference bogus data in harmful ways?

Cheers,

Jeff


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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: pgbench more operators & functions
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pageinspect: Hash index support