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

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Functions To Let Users Cancel/Terminate own Back Ends
Date: 2012-02-02 23:00:37
Message-ID: 28CF095D-2F6F-4004-AE00-9E78B3D20093@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Feb 2, 2012, at 2:51 PM, Magnus Hagander wrote:

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

Oh, it *was* committed? Excellent. Yeah, looks pretty similar in principal. Thanks!

David

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Venkat Balaji 2012-02-03 06:21:28 Re: [GENERA]: Postgresql-9.1.1 synchronous replication issue
Previous Message Magnus Hagander 2012-02-02 22:51:03 Re: Functions To Let Users Cancel/Terminate own Back Ends