Audit Role Connections

Поиск
Список
Период
Сортировка
От Chris Morris
Тема Audit Role Connections
Дата
Msg-id CALrUc2UnY6Rup8-Q_ajOuJofX9OzPNjfX-ObEHjtgS-9gHg6hA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Audit Role Connections  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
Список pgsql-general
We're using Heroku's PG, and it comes with a default, almost super-user. I'm wanting to restrict that account for only our production app servers, and have anyone connecting for personal queries to go through an assigned role by employee (that's all setup and working). 

Other than polling pg_stat_activity (which isn't 100% accurate depending on timing), is there a good way to audit connections? To detect which roles are being used for connections?

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_ctl can't start db server
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: pg_ctl can't start db server