Re: Functions To Let Users Cancel/Terminate own Back Ends

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Functions To Let Users Cancel/Terminate own Back Ends
Date: 2012-02-02 22:51:03
Message-ID: CABUevEwfUK+ZC+WODQS_+qcE8qNqdNZ7CGiWk0ndaBMziPp9qA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Feb 2, 2012 at 23:38, David E. Wheeler <david(at)kineticode(dot)com> wrote:
> PostgreSQLers,
>
> I have a need at my $dayjob to let users cancel their own back ends. See any issues with this function to allow them to do that? Any security gotchas or anything?

You mean something like this?
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=0495aaad8b337642830a4d4e82f8b8c02b27b1be

(So yes, the principle was agreed to be safe)

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David E. Wheeler 2012-02-02 23:00:37 Re: Functions To Let Users Cancel/Terminate own Back Ends
Previous Message David E. Wheeler 2012-02-02 22:38:33 Functions To Let Users Cancel/Terminate own Back Ends