Avoid double close of file handle in syslogger on win32

Magnus Hagander <magnus@hagander.net>

Commit: d1ed3363f6077a0f616782ccb26c9571e7f3cae1
Author: Magnus Hagander <magnus@hagander.net>
Date: 2012-02-21T16:14:14Z
Releases: 9.0.7
Avoid double close of file handle in syslogger on win32

This causes an exception when running under a debugger or in particular
when running on a debug version of Windows.

Patch from MauMau

Files

PathChange+/−
src/backend/postmaster/syslogger.c modified +5 −2