Re: Ctrl+C from sh can shut down daemonized PostgreSQL cluster - Mailing list pgsql-hackers

From Greg Stark
Subject Re: Ctrl+C from sh can shut down daemonized PostgreSQL cluster
Date
Msg-id CAM-w4HOZ30mbZ2EZ3cTexN9bztZTtA6f5sEe_AAsr22Mba04xQ@mail.gmail.com
Whole thread Raw
In response to Re: Ctrl+C from sh can shut down daemonized PostgreSQL cluster  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Ctrl+C from sh can shut down daemonized PostgreSQL cluster  (Hannu Krosing <hannu@2ndQuadrant.com>)
List pgsql-hackers
<p dir="ltr"><br /> On 14 Feb 2014 23:07, "Tom Lane" <<a href="mailto:tgl@sss.pgh.pa.us">tgl@sss.pgh.pa.us</a>>
wrote:<br/> ><br /> > If this is, as it sounds to be, a Solaris shell bug, doesn't it<br /> > affect other
daemonstoo?<p dir="ltr">This is simmering i never exactly followed but i think if the shell doesn't support job control
it'sexpected behaviour, not a bug. Only shells that support job control create new process groups for every
backgroundedcommand.<p dir="ltr">I would have expected if I run postgres myself that it be attached to the terminal and
diewhen I C-c it but if it's started by pg_ctl I would have thought it was running independently of my terminal and
shell.

pgsql-hackers by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: narwhal and PGDLLIMPORT
Next
From: Michael Paquier
Date:
Subject: Re: should we add a XLogRecPtr/LSN SQL type?