Re: Postmaster can't stop with pg_ctl - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Postmaster can't stop with pg_ctl
Date
Msg-id 21884.1177510945@sss.pgh.pa.us
Whole thread Raw
In response to Re: Postmaster can't stop with pg_ctl  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Postmaster can't stop with pg_ctl
List pgsql-bugs
Alvaro Herrera <alvherre@commandprompt.com> writes:
> takuya koide wrote:
>> 4) send 'SIGSTOP' signal to postgres

> If you "stop" a process by SIGSTOP you must make it run again with
> SIGCONT.  Otherwise it's just not processing signals, so it'll obviously
> not shut down.  I don't think this is a bug.

SIGSTOP is a debugging tool, which would be rendered nigh useless if the
postmaster tried to override it automatically.  So definitely NOTABUG
in my opinion too.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Postmaster can't stop with pg_ctl
Next
From: Jeff Davis
Date:
Subject: pg_dump doesn't properly honor -O for sequences