postgresql/src/backend/postmaster
Tom Lane 8bed238c87 Try to make silent_mode behave somewhat reasonably.
Instead of sending stdout/stderr to /dev/null after forking away from the
terminal, send them to postmaster.log within the data directory.  Since
this opens the door to indefinite logfile bloat, recommend even more
strongly that log output be redirected when using silent_mode.

Move the postmaster's initial calls of load_hba() and load_ident() down
to after we have started the log collector, if we are going to.  This
is so that errors reported by them will appear in the "usual" place.

Reclassify silent_mode as a LOGGING_WHERE, not LOGGING_WHEN, parameter,
since it's got absolutely nothing to do with the latter category.

In passing, fix some obsolete references to -S ... this option hasn't
had that switch letter for a long time.

Back-patch to 8.4, since as of 8.4 load_hba() and load_ident() are more
picky (and thus more likely to fail) than they used to be.  This entire
change was driven by a complaint about those errors disappearing into
the bit bucket.
2009-08-24 20:08:32 +00:00
..
Makefile Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
autovacuum.c Avoid calling kill() in a postmaster signal handler. 2009-08-24 17:23:02 +00:00
bgwriter.c Create a multiplexing structure for signals to Postgres child processes. 2009-07-31 20:26:23 +00:00
fork_process.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
pgarch.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
pgstat.c Allow backends to start up without use of the flat-file copy of pg_database. 2009-08-12 20:53:31 +00:00
postmaster.c Try to make silent_mode behave somewhat reasonably. 2009-08-24 20:08:32 +00:00
syslogger.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
walwriter.c Create a multiplexing structure for signals to Postgres child processes. 2009-07-31 20:26:23 +00:00