Initial eventlog support on win32

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: Initial eventlog support on win32
Date: 2004-03-22 22:44:28
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE34B59F@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
eventlog.patch application/octet-stream 3.8 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2004-03-22 23:03:59 Re: Initial eventlog support on win32
Previous Message Magnus Hagander 2004-03-22 20:41:54 Patch for select and APC on win32