postgres.git / summary / log / commit / refs

commit    6cd471a6d46b463e5222e5bb2d859311ddc1d86a
Author:   Magnus Hagander <magnus@hagander.net>
Date:     Thu Jul 17 11:19:32 2014 +0000
First released in: 9.5.0

    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...


src/bin/pgevent/pgevent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pgevent/pgevent.c b/src/bin/pgevent/pgevent.c index 83949c2cda2..6a667812fba 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); [parent: c0e4520b1667]