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

Commit5eeaf77

Browse files
committed
Added PGDLLIMPORT for two variables, used by pg_wait_sampling extension
1 parent2f3e0eb commit5eeaf77

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/include/storage/pg_shmem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ extern unsigned long UsedShmemSegID;
5757
#else
5858
externHANDLEUsedShmemSegID;
5959
#endif
60-
externvoid*UsedShmemSegAddr;
60+
externPGDLLIMPORTvoid*UsedShmemSegAddr;
6161

6262
#ifdefEXEC_BACKEND
6363
externvoidPGSharedMemoryReAttach(void);

‎src/include/storage/proc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ typedef struct PROC_HDR
244244
intstartupBufferPinWaitBufId;
245245
}PROC_HDR;
246246

247-
externPROC_HDR*ProcGlobal;
247+
externPGDLLIMPORTPROC_HDR*ProcGlobal;
248248

249249
externPGPROC*PreparedXactProcs;
250250

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp