From: amandeep singh <singh_a@live.in>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Terminate connections using non-superuser
Date: Wed, 2 Aug 2017 12:36:05 +0000
Message-ID: <MA1PR01MB0748C1F4891FAC8DFB843E6480B00@MA1PR01MB0748.INDPRD01.PROD.OUTLOOK.COM> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
Hi All
I have a requirement where I need a non-superuser who can view (pg_stat_activity) and terminate (pg_terminate_backend) connections of other users. Is it possible to give such privileges to non-superuser?
Postgres Version :PostgreSQL9.6
Thanks and Regards:
Amandeep Singh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: singh_a@live.in
Subject: Re: Terminate connections using non-superuser
In-Reply-To: <MA1PR01MB0748C1F4891FAC8DFB843E6480B00@MA1PR01MB0748.INDPRD01.PROD.OUTLOOK.COM>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox