BUG #7561: syslogger doesn't close stdout and stderr - Mailing list pgsql-bugs

From max@suse.de
Subject BUG #7561: syslogger doesn't close stdout and stderr
Date
Msg-id E1TEMlm-0005ZS-3Q@wrigleys.postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      7561
Logged by:          Reinhard Max
Email address:      max@suse.de
PostgreSQL version: 9.1.5
Operating system:   openSUSE
Description:        =


When initially starting up, syslogger keeps stdout and stderr open instead
of closing them and reopening them from /dev/null for proper daemonisation.
This causes the process that triggers PostgreSQL to hang if it uses a pipe
to synchronize itself with the backgrounding of the server.

I've sent a proposed fix to Peter Eisentraut.

pgsql-bugs by date:

Previous
From: Stuart Bishop
Date:
Subject: Re: BUG #7546: Backups on hot standby cancelled despite hot_standby_feedback=on
Next
From: l1t@tom.com
Date:
Subject: BUG #7556: "select not in sub query" plan very poor vs "not exists"