Re: [PATCHES] Adding a --quiet option to initdb - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] Adding a --quiet option to initdb
Date
Msg-id 4969.1138216534@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCHES] Adding a --quiet option to initdb  (Greg Stark <gsstark@mit.edu>)
List pgsql-hackers
Greg Stark <gsstark@mit.edu> writes:
> I always wondered why the Redhat init scripts thought it was a clever idea to
> redirect the output to /dev/null. It seems like a pessimal user interface
> choice. Every time I have to work with a Redhat machine where Postgres isn't
> starting up the first thing I have to do is edit the init script so I can what
> the problem is.

Yeah, that's finally fixed in the latest versions.  The problem was that
sending the postmaster log into a file wasn't a good long-term idea
because of the lack of any way to rotate the log.  Current RPMs set up
redirect_stderr with some reasonable rotation options instead.

            regards, tom lane

pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: Cleaning up the INET/CIDR mess
Next
From: Tom Lane
Date:
Subject: Re: Cleaning up the INET/CIDR mess