Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4c3c911

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 parentcac0d51 commit4c3c911

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 @@ HANDLEg_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-
charevent_source[256]="PostgreSQL";
31+
charevent_source[256]=DEFAULT_EVENT_SOURCE;
3032

3133
/* Prototypes */
3234
HRESULTDllInstall(BOOLbInstall,LPCWSTRpszCmdLine);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp