Re: SuperUser check in pg_stat_statements
От | Jim Nasby |
---|---|
Тема | Re: SuperUser check in pg_stat_statements |
Дата | |
Msg-id | 56256AB8.10501@BlueTreble.com обсуждение исходный текст |
Ответ на | Re: SuperUser check in pg_stat_statements (rajan <vgmonnet@gmail.com>) |
Ответы |
Re: SuperUser check in pg_stat_statements
Re: SuperUser check in pg_stat_statements |
Список | pgsql-hackers |
On 10/19/15 3:48 PM, rajan wrote: > Thanks Stephen and Shulgin for your response. > > Will go through the patch and will try to solve my problem using that. > > My scenario is that i need to have an user who cannot be a super user but a > monitor user, who will be able to see all the queries executed by all users. You can set that up today by defining a view on top of pg_stat_statements (or maybe it needs a SECDEF SRF... been a while since I've done it). -- Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX Experts in Analytics, Data Architecture and PostgreSQL Data in Trouble? Get it in Treble! http://BlueTreble.com
В списке pgsql-hackers по дате отправления: