Check dup2() results in syslogger
Consistently check the dup2() call results throughout syslogger.c.
It's pretty unlikely that they'll error out, but if they do,
ereport(FATAL) instead of blissfully continuing on.
Spotted by the Coverity scanner.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/790eaa699e4a9626d8a610ec5844e1fd70d73b4e
Modified Files
--------------
src/backend/postmaster/syslogger.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)