Re: Re: [COMMITTERS] pgsql: Add pg_terminate_backend() to allow terminating only a single - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Re: [COMMITTERS] pgsql: Add pg_terminate_backend() to allow terminating only a single
Date
Msg-id 200804151358.m3FDwvk25400@momjian.us
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Add pg_terminate_backend() to allow terminating only a single  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: [COMMITTERS] pgsql: Add pg_terminate_backend() to allow terminating only a single  (Gregory Stark <stark@enterprisedb.com>)
Re: Re: [COMMITTERS] pgsql: Add pg_terminate_backend() to allow terminating only a single  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Alvaro Herrera wrote:
> Bruce Momjian wrote:
> > Log Message:
> > -----------
> > Add pg_terminate_backend() to allow terminating only a single session.
> 
> I wonder if it's OK to grab an LWLock in a signal handler.

I am not in a signal handler there --- pg_terminate_backend() happens
for the person requesting the termination, not the terminated backend
that gets the signal.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [COMMITTERS] pgsql: Add pg_terminate_backend() to allow terminating only a single
Next
From: Tom Lane
Date:
Subject: Re: Lessons from commit fest