Re: Eventlog - Mailing list pgsql-hackers-win32

From markir@coretech.co.nz
Subject Re: Eventlog
Date
Msg-id 1091871272.35d16b50e28e6@mail.coretech.co.nz
Whole thread Raw
In response to Re: Eventlog  (Andreas Pflug <pgadmin@pse-consulting.de>)
Responses Re: Eventlog
List pgsql-hackers-win32
Presumably this is because I compiled from source rather than using the Pg
Installer?

Quoting Andreas Pflug <pgadmin@pse-consulting.de>:
>
> This looks like an installation problem; I don't see that on my machine.
>
> The eventlog will receive an eventID (postgresql uses only 0), which is
> an index into a message table provided by the service (it's a binary
> resource). If that message is not present, or if the message provider
> isn't registered for the server, the text mentioned is displayed.
> For pgsql, this message is just "%s", to use it generically.
>
> To check if the dll is registered correctly:
>
> You should have
>
>
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\PostgreSQL]
> "EventMessageFile"="C:\\Program Files\\ PostgreSQL\\7.5\\lib\\pgevent.dll"
>
> or another valid pgevent.dll path. Adding this might need a machine
> restart (yes, it's win...)
>
> I noticed a trailing '.' on a single line in every eventlog entry, the
> attached patch will remove this.
>
> Regards,
> Andreas
>





pgsql-hackers-win32 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Win32 testing needed - 2 Logger
Next
From: markir@coretech.co.nz
Date:
Subject: PITR on Win32 - Archive and Restore Command Strings