Re: [HACKERS] v10 pg_ctl compatibility - Mailing list pgsql-hackers

From Jeff Janes
Subject Re: [HACKERS] v10 pg_ctl compatibility
Date
Msg-id CAMkU=1x6PgjvzKyyxaTYspxA9usuXTV-8pKK_B7ugKnv3Wj+EA@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] v10 pg_ctl compatibility  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] v10 pg_ctl compatibility  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Sep 26, 2017 at 3:54 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Jeff Janes <jeff.janes@gmail.com> writes:
> On Tue, Sep 26, 2017 at 1:10 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Really?  The server should have detached itself from your terminal
>> group long before that.  What platform is this?

> CentOS release 6.9 (Final)

Hm, same as here.  Are you perhaps not using pg_ctl's -l option?
If not, the postmaster's stderr would remain attached to your tty,
which might be the reason why a terminal ^C affects it.

I was not using -l.  Instead I set logging_collector=on in postgresql.conf, but I suppose that that is not sufficent?

But I just retried with -l, and it still gets the fast shutdown.

Cheers,

Jeff

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [HACKERS] v10 pg_ctl compatibility
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Multicolumn hash indexes