Re: Monitor without superuser?

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: Monitor without superuser?
Дата
Msg-id 4F4D0454.2090507@2ndQuadrant.com
обсуждение исходный текст
Ответ на Monitor without superuser?  (Jan Nielsen <jan.sture.nielsen@gmail.com>)
Список pgsql-admin
On 02/17/2012 10:37 AM, Jan Nielsen wrote:
> I would like to create a role "dba_monitor" for a portion of my PG 9.1
> user-base to be able to monitor PG but without granting superuser.

You want to create a security definer function for this:
http://www.postgresql.org/docs/9.1/static/sql-createfunction.html

--
Greg Smith   2ndQuadrant US    greg@2ndQuadrant.com   Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.com

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

Предыдущее
От: Deepesh D
Дата:
Сообщение: Failover of a Hot standby setup with multiple standbys
Следующее
От: Brian Fehrle
Дата:
Сообщение: Hot standby having high requested checkpoints?