Re: pg_terminate_backend and pg_cancel_backend by not administrator user

From: Anssi Kääriäinen <anssi(dot)kaariainen(at)thl(dot)fi>
To: Torello Querci <tquerci(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_terminate_backend and pg_cancel_backend by not administrator user
Date: 2011-02-14 13:58:56
Message-ID: 4D593520.5070008@thl.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 02/14/2011 02:10 PM, Torello Querci wrote:
> I suppose that give the right to the owner db user to terminate or
> cancel other session connected to the database which it is owner is a
> good thing.
> I not see any security problem because this user can cancel or
> terminate only the session related with the own database,
> but if you think that this is a problem, a configuration parameter can be used.
For what it's worth, a big +1 from me. We have pretty much the same use
case.

It would be good if you could also terminate your own connections.

- Anssi

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2011-02-14 14:02:54 Re: Debian readline/libedit breakage
Previous Message Itagaki Takahiro 2011-02-14 13:54:39 Re: SQL/MED - file_fdw