pgsql: Revert dup2() checking in syslogger.c
pgsql: Revert dup2() checking in syslogger.c
От:
Stephen Frost <sfrost@snowman.net>
Дата:
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. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/aef61bf433a9e9b6e2d98b0fdcce8562c3ad526f Modified Files -------------- src/backend/postmaster/syslogger.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-)