diff -rpcd a/src/bin/pgevent/pgevent.c b/src/bin/pgevent/pgevent.c *** a/src/bin/pgevent/pgevent.c 2014-06-21 09:17:03.000000000 +0900 --- b/src/bin/pgevent/pgevent.c 2014-07-18 22:29:29.717934100 +0900 *************** *** 12,17 **** --- 12,19 ---- */ + #include "postgres_fe.h" + #include #include #include *************** HANDLE g_module = NULL; /* hModule of D *** 26,32 **** * The maximum length of a registry key is 255 characters. * http://msdn.microsoft.com/en-us/library/ms724872(v=vs.85).aspx */ ! char event_source[256] = "PostgreSQL"; /* Prototypes */ HRESULT DllInstall(BOOL bInstall, LPCWSTR pszCmdLine); --- 28,34 ---- * The maximum length of a registry key is 255 characters. * http://msdn.microsoft.com/en-us/library/ms724872(v=vs.85).aspx */ ! char event_source[256] = DEFAULT_EVENT_SOURCE; /* Prototypes */ HRESULT DllInstall(BOOL bInstall, LPCWSTR pszCmdLine);