Initial eventlog support on win32 - Mailing list pgsql-patches

From Magnus Hagander
Subject Initial eventlog support on win32
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE34B59F@algol.sollentuna.se
Whole thread Raw
Responses Re: Initial eventlog support on win32
List pgsql-patches
This patch adds initial eventlog support on win32. It's good enough for
most purposes, but we will probably want a specific message DLL later to
format the messages nicer.

The patch mimcs the syslog handling in most cases. It also hijacks the
syslog guc variable. Since syslog is not available on win32, it's
meaning is redefined as eventlog.  So syslog=1 means eventlog+stdout,
syslog=2 means just eventlog.

For reviews and application to head if nobody objects.

//Magnus

 <<eventlog.patch>>

Attachment

pgsql-patches by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Patch for select and APC on win32
Next
From: Andrew Dunstan
Date:
Subject: Re: Initial eventlog support on win32