Re: Read access for pg_monitor to pg_replication_origin_status view

Поиск
Список
Период
Сортировка
От Martín Marqués
Тема Re: Read access for pg_monitor to pg_replication_origin_status view
Дата
Msg-id CAPdiE1xchn=v3=r9b4FpE=CuDFaQivv+ogQk0NXsbyFY6y4QSA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Read access for pg_monitor to pg_replication_origin_status view  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Read access for pg_monitor to pg_replication_origin_status view  (Martín Marqués <martin@2ndquadrant.com>)
Список pgsql-hackers
Hi Michael,

> Wouldn't it be just better to remove this hardcoded superuser check
> and replace it with equivalent ACLs by default?  The trick is to make
> sure that any function calling replorigin_check_prerequisites() has
> its execution correctly revoked from public.  See for example
> e79350fe.

Looking at that, it seems a better solution. Let me wrap up a new
patch, likely later today or early tomorrow as it's Sunday ;-)

--
Martín Marqués                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Andy Fan
Дата:
Сообщение: A wrong index choose issue because of inaccurate statistics
Следующее
От: Vik Fearing
Дата:
Сообщение: Compatible defaults for LEAD/LAG