Skip to content

Commit 4c3c911

Browse files
committed
Properly use DEFAULT_EVENT_SOURCE in pgevent.c
This was broken and reverted in a previous commit. The (this time verified) fix is to simly add postgres_fe.h. MauMau, review by Amit Kapila
1 parent cac0d51 commit 4c3c911

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/bin/pgevent/pgevent.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
*/
1313

1414

15+
#include "postgres_fe.h"
16+
1517
#include <windows.h>
1618
#include <olectl.h>
1719
#include <string.h>
@@ -26,7 +28,7 @@ HANDLE g_module = NULL; /* hModule of DLL */
2628
* The maximum length of a registry key is 255 characters.
2729
* http://msdn.microsoft.com/en-us/library/ms724872(v=vs.85).aspx
2830
*/
29-
char event_source[256] = "PostgreSQL";
31+
char event_source[256] = DEFAULT_EVENT_SOURCE;
3032

3133
/* Prototypes */
3234
HRESULT DllInstall(BOOL bInstall, LPCWSTR pszCmdLine);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy