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

From Bruce Momjian
Subject Re: Ctrl+C from sh can shut down daemonized PostgreSQL cluster
Date
Msg-id 20140217165134.GC28102@momjian.us
Whole thread Raw
In response to Re: Ctrl+C from sh can shut down daemonized PostgreSQL cluster  (Bjorn Munch <bjorn.munch@oracle.com>)
Responses Re: Ctrl+C from sh can shut down daemonized PostgreSQL cluster  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Feb 17, 2014 at 10:38:29AM +0100, Bjorn Munch wrote:
> On 14/02 14.57, Kevin Grittner wrote:
> > We have had a case where a production cluster was accidentally shut
> > down by a customer who used Ctrl+C in the same sh session in which
> > they had (long before) run pg_ctl start.  We have only seen this in
> > sh on Solaris.  Other shells on Solaris don't behave this way, nor
> > does sh on tested versions of Linux.  Nevertheless, the problem is
> > seen on the default shell for a supported OS.
> 
> What Solaris version, and what version of sh?  sh on Solaris isn't
> necessarily the "real" bourne shell. In Solaris 11 it's actually
> ksh93.

This was Solaris 9.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Do you know the reason for increased max latency due to xlog scaling?
Next
From: Sawada Masahiko
Date:
Subject: pg_basebackup skips pg_replslot directory