Re: eventlog fix

Поиск
Список
Период
Сортировка
От Laurent Ballester
Тема Re: eventlog fix
Дата
Msg-id 001401c45373$23372ee0$622a7c52@fleche
обсуждение исходный текст
Ответ на Re: eventlog fix  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
>
> Would you send me documentation explaining how to register this DLL with
> the event logger on Win32?  Ideally you could send me a diff against
> installation.sgml.
>

Hello Bruce,



After the DLL was in it target directory (C:\msys\1.0\local\pgsql\lib with
make install)

You can register the DLL to windows event log with the command

Regsvr32 pgevent.dll or regsvr32 /s pgevent.dll whish is a silent mode.



To uninstall, regsvr32 /u pgevent.dll will delete key add by the DLL in
Windows registry.



The DLL create the following entry:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\P
ostgreSQL] with two values :

EventMessageFile wish contains full path of DLL
C:\msys\1.0\local\pgsql\lib\pgevent.dll

TypesSupported : error type message send by postgresql



Regsvr32 is a standard program located in %systemroot%\system32



Regards

Laurent Ballester




В списке pgsql-patches по дате отправления:

Предыдущее
От: "Matthew T. O'Connor"
Дата:
Сообщение: pg_autovacuum integration patch
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: pg_autovacuum integration patch