Re: Patch to allow users to kill their own queries - Mailing list pgsql-hackers

From Greg Smith
Subject Re: Patch to allow users to kill their own queries
Date
Msg-id 4EE8ABD3.8010002@2ndQuadrant.com
Whole thread Raw
In response to Re: Patch to allow users to kill their own queries  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On 12/14/2011 05:24 AM, Magnus Hagander wrote:
> How about passing a parameter to pg_signal_backend? Making
> pg_signal_backend(int pid, int sig, bool allow_samerole)?
>    

That sounds like it will result in less code, and make the API I was 
documenting be obvious from the parameters instead.  I'll refactor to do 
that, tweak the hint message, and resubmit.

-- 
Greg Smith   2ndQuadrant US    greg@2ndQuadrant.com   Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support  www.2ndQuadrant.us



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [PATCH] PostgreSQL fails to build with 32bit MinGW-w64
Next
From: Robert Haas
Date:
Subject: Re: COUNT(*) and index-only scans