Re: problem (bug?) when killing client program - Mailing list pgsql-novice

From Tom Lane
Subject Re: problem (bug?) when killing client program
Date
Msg-id 6642.1080406857@sss.pgh.pa.us
Whole thread Raw
In response to problem (bug?) when killing client program  ("Marcus Andree S. Magalhaes" <marcus.magalhaes@vlinfo.com.br>)
Responses Re: problem (bug?) when killing client program
List pgsql-novice
"Marcus Andree S. Magalhaes" <marcus.magalhaes@vlinfo.com.br> writes:
> Realizing that the things weren't quite right, sent a SIGTERM (kill with
> no flags) to the PID 22332.
> What happened? The entire backend crashed and burned in enormous flames.

SIGTERM should have been fine.  Are you certain you didn't do kill -9 ?

I tried the same thing here, and the backend shut down just fine, with
only this entry in the postmaster log:
    FATAL:  terminating connection due to administrator command
So I think you didn't really do SIGTERM.

            regards, tom lane

pgsql-novice by date:

Previous
From: "Marcus Andree S. Magalhaes"
Date:
Subject: problem (bug?) when killing client program
Next
From: "Marcus Andree S. Magalhaes"
Date:
Subject: Re: problem (bug?) when killing client program