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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: [COMMITTERS] pgsql: Add pg_terminate_backend() to allow terminating only a single
Date: 2008-04-15 13:58:57
Message-ID: 200804151358.m3FDwvk25400@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers 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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2008-04-15 14:24:33 pgsql: Add to TODO: > * Allow XML to accept more liberal DOCTYPE
Previous Message Alvaro Herrera 2008-04-15 13:56:20 Re: [COMMITTERS] pgsql: Add pg_terminate_backend() to allow terminating only a single

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-04-15 14:04:06 Re: Lessons from commit fest
Previous Message Alvaro Herrera 2008-04-15 13:56:20 Re: [COMMITTERS] pgsql: Add pg_terminate_backend() to allow terminating only a single