Re: Terminating a backend

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Terminating a backend
Date: 2008-03-10 19:30:48
Message-ID: 21557.1205177448@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Bruce Momjian <bruce(at)momjian(dot)us> writes:
> Tom Lane wrote:
>> Keep in mind that 99% of the excuse for people to want to use SIGTERM is
>> that the backend isn't responding to SIGINT. If you've fixed things so
>> that SIGTERM cannot get them out of any situation that SIGINT doesn't
>> get them out of, I don't think it's a step forward.

> What I hear people ask is that they don't want the backend to read the
> next command but to exit. That seems like a reasonable request.

[shrug...] They can do that now, most of the time. What this is about
is dealing with corner cases, and in that respect what your proposal
will do is replace soluble problems with insoluble ones. But I suppose
I can't stop you if you're insistent.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-03-10 20:16:12 Re: [PATCHES] Fix for large file support (nonsegment mode support)
Previous Message Bruce Momjian 2008-03-10 19:18:19 Re: Terminating a backend

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2008-03-10 20:16:12 Re: [PATCHES] Fix for large file support (nonsegment mode support)
Previous Message Bruce Momjian 2008-03-10 19:18:19 Re: Terminating a backend