Re: Eventlog
От | markir@coretech.co.nz |
---|---|
Тема | Re: Eventlog |
Дата | |
Msg-id | 1091871272.35d16b50e28e6@mail.coretech.co.nz обсуждение исходный текст |
Ответ на | Re: Eventlog (Andreas Pflug <pgadmin@pse-consulting.de>) |
Ответы |
Re: Eventlog
|
Список | 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 по дате отправления: