Re: Terminate connections using non-superuser

From: Naveen Kumar <naveenchowdaryon(at)gmail(dot)com>
To: amandeep singh <singh_a(at)live(dot)in>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Terminate connections using non-superuser
Date: 2017-08-02 12:45:27
Message-ID: CADk76joS2q_GyyHwy+tejo=+gPmGkAGHskWB_xVp4PyKgHjxxQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Yes, non-superuser can do this. but user should have privilege to this.

GRANT pg_signal_backend TO user;

Thanks & Regards,
Naveen Kumar .M,
Sr. PostgreSQL Database Administrator,
Mobile: 7755929449.
*My attitude will always be based on how you treat me. *

On Wed, Aug 2, 2017 at 6:06 PM, amandeep singh <singh_a(at)live(dot)in> wrote:

> 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
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Mead 2017-08-02 12:49:06 Re: Terminate connections using non-superuser
Previous Message amandeep singh 2017-08-02 12:36:05 Terminate connections using non-superuser