Re: (Never?) Kill Postmaster?

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: Christian Schröder <cs(at)deriva(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: (Never?) Kill Postmaster?
Date: 2007-10-24 07:23:32
Message-ID: 162867790710240023q6bf8bae6pa527a4bf7a5c311d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2007/10/24, Christian Schröder <cs(at)deriva(dot)de>:
> Ow Mun Heng wrote:
> > look for the query's procpid and then issue a select
> > pg_cancel_backend('the_id')
> >
>
> Does it do any harm if I kill (either with signal 9 or signal 15) the
> single backend process (and not the postmaster)?
>

shared memory can be broken, and probably somewhere can stay some
garbage. It's depend on query.

Pavel

> Regards,
> Christian
>
> --
> Deriva GmbH Tel.: +49 551 489500-42
> Financial IT and Consulting Fax: +49 551 489500-91
> Hans-Böckler-Straße 2 http://www.deriva.de
> D-37079 Göttingen
>
> Deriva CA Certificate: http://www.deriva.de/deriva-ca.cer
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gábor Farkas 2007-10-24 07:44:38 deadlock detected, only selects (not select-for-update)
Previous Message Albe Laurenz 2007-10-24 07:12:27 Re: Start DB giving fatal message.(linux)