Re: pg_terminate_backend

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Csaba Nagy <nagy(at)ecircle-ag(dot)com>
Cc: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>, postgres hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_terminate_backend
Date: 2006-08-03 16:50:45
Message-ID: 20432.1154623845@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Csaba Nagy <nagy(at)ecircle-ag(dot)com> writes:
> I do know a case where a plain kill will seem to be stucked: on vacuum
> of a big table. I guess when it starts an index's cleanup scan it will
> insist to finish it before stopping.

We've fixed a few cases of missing CHECK_FOR_INTERRUPTS lately, and will
fix more if you can point them out. Note though that SIGTERM is just as
vulnerable to that as SIGINT.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Pflug 2006-08-03 16:53:31 Re: pg_terminate_backend
Previous Message Tom Lane 2006-08-03 16:48:33 Re: ecpg test suite