Re: BUG #13649: system catalog pg_authid doesn't update automatically

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #13649: system catalog pg_authid doesn't update automatically
Дата
Msg-id 29889.1443532426@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #13649: system catalog pg_authid doesn't update automatically  (450019844@qq.com)
Список pgsql-bugs
450019844@qq.com writes:
> step1:revoke "postgres" database user's superuser privilege.

That's not particularly a supported operation...

> step2:excute query "select relacl from pg_class where relname='pg_authid';"
> the query result is "{postgres=arwdDxt/postgres}"
> here it says "postgres" database user still has the update privilege ,but in
> fact it can't.

There's an additional security filter, independent of granted privileges,
that says that only superusers can directly update system catalogs.

            regards, tom lane

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

Предыдущее
От: 450019844@qq.com
Дата:
Сообщение: BUG #13649: system catalog pg_authid doesn't update automatically
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #13638: Exception texts from plperl has bad encoding