pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Reinhard Max <reinhard@m4x.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7559: syslogger doesn't close stdout and stderr
Date: Thu, 20 Sep 2012 10:31:20 +0300
Message-ID: <505AC648.7050400@vmware.com> (raw)
In-Reply-To: <alpine.LNX.2.00.1209192234040.663@albrecht.home.m4x.de>
References: <E1TEMgj-0005PY-Hy@wrigleys.postgresql.org>
	<29557.1348072752@sss.pgh.pa.us>
	<alpine.LNX.2.00.1209192234040.663@albrecht.home.m4x.de>

On 20.09.2012 00:05, Reinhard Max wrote:
> On Wed, 19 Sep 2012 at 12:39, Tom Lane wrote:
>> reinhard@m4x.de writes:
>> And what makes /dev/null necessarily the right substitute?
>
> Because it is what virtually all deamons have been doing for the last
> 3..4 decades?
>
>> I don't think we should change this within Postgres. We removed logic
>> associated with daemonization altogether in 9.2
>
> Huh - why that?

I believe Tom is referring to the removal of silent_mode in 9.2, see 
http://archives.postgresql.org/pgsql-general/2011-06/msg00796.php and 
http://archives.postgresql.org/pgsql-hackers/2011-06/msg02156.php. "We 
removed logic associated with daemonization" meant that the logic was 
removed from postmaster, because the preferred way to do it is by 
calling "pg_ctl start". pg_ctl redirects to /dev/null as you'd expect.

- Heikki




view thread (11+ messages)  latest in thread

Message-ID: <505AC648.7050400@vmware.com>
Permalink:  ../505AC648.7050400@vmware.com/
Also on:    postgresql.org/message-id/505AC648.7050400@vmware.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: hlinnakangas@vmware.com, reinhard@m4x.de, tgl@sss.pgh.pa.us
  Subject: Re: BUG #7559: syslogger doesn't close stdout and stderr
  In-Reply-To: <505AC648.7050400@vmware.com>
  References: <E1TEMgj-0005PY-Hy@wrigleys.postgresql.org> <29557.1348072752@sss.pgh.pa.us> <alpine.LNX.2.00.1209192234040.663@albrecht.home.m4x.de> <505AC648.7050400@vmware.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox