From: Magnus Hagander Date: Thu, 17 Jul 2014 11:19:32 +0000 (+0200) Subject: Revert broken change to pgevent.c X-Git-Tag: REL9_5_ALPHA1~1711 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6cd471a6d46b463e5222e5bb2d859311ddc1d86a;p=postgresql Revert broken change to pgevent.c pgevent doesn't include the global PostgreSQL headers, for a reason, and therefor cannot rely on defines in it... --- diff --git a/src/bin/pgevent/pgevent.c b/src/bin/pgevent/pgevent.c index 83949c2cda..6a667812fb 100644 --- a/src/bin/pgevent/pgevent.c +++ b/src/bin/pgevent/pgevent.c @@ -26,7 +26,7 @@ HANDLE g_module = NULL; /* hModule of DLL */ * 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; +char event_source[256] = "PostgreSQL"; /* Prototypes */ HRESULT DllInstall(BOOL bInstall, LPCWSTR pszCmdLine);