]> granicus.if.org Git - postgresql/commitdiff
Revert broken change to pgevent.c
authorMagnus Hagander <magnus@hagander.net>
Thu, 17 Jul 2014 11:19:32 +0000 (13:19 +0200)
committerMagnus Hagander <magnus@hagander.net>
Thu, 17 Jul 2014 11:19:32 +0000 (13:19 +0200)
pgevent doesn't include the global PostgreSQL headers, for a reason,
and therefor cannot rely on defines in it...

src/bin/pgevent/pgevent.c

index 83949c2cda234ec8e043b6e29f1604e7693531d2..6a667812fba98e7a36038dbc0ffdf72ccd4d6eab 100644 (file)
@@ -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);