pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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

view thread (4+ messages)  latest in thread

Message-ID: <MA1PR01MB0748C1F4891FAC8DFB843E6480B00@MA1PR01MB0748.INDPRD01.PROD.OUTLOOK.COM>
Permalink:  ../MA1PR01MB0748C1F4891FAC8DFB843E6480B00@MA1PR01MB0748.INDPRD01.PROD.OUTLOOK.COM/
Also on:    postgresql.org/message-id/MA1PR01MB0748C1F4891FAC8DFB843E6480B00@MA1PR01MB0748.INDPRD01.PROD.OUTLOOK.COM

 · 

reply

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