]> granicus.if.org Git - postgresql/commit
Revert dup2() checking in syslogger.c
authorStephen Frost <sfrost@snowman.net>
Tue, 28 Jan 2014 13:40:41 +0000 (08:40 -0500)
committerStephen Frost <sfrost@snowman.net>
Tue, 28 Jan 2014 13:40:41 +0000 (08:40 -0500)
commitaef61bf433a9e9b6e2d98b0fdcce8562c3ad526f
tree8dfcfd95433f6c5aa4240a67b7d229a0e9b18721
parent64e43c59b817a78ddf70f2fd62de31a4add5d988
Revert dup2() checking in syslogger.c

Per the expanded comment-

As we're just trying to reset these to go to DEVNULL, there's not
much point in checking for failure from the close/dup2 calls here,
if they fail then presumably the file descriptors are closed and
any writes will go into the bitbucket anyway.

Pointed out by Tom.
src/backend/postmaster/syslogger.c