Skip to content

Commit cac8321

Browse files
committed
Mark PostmasterPid as PGDLLIMPORT.
This is so that extensions can use it. Michael Paquier
1 parent 370a46f commit cac8321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/miscadmin.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ do { \
143143
/*
144144
* from utils/init/globals.c
145145
*/
146-
extern pid_t PostmasterPid;
146+
extern PGDLLIMPORT pid_t PostmasterPid;
147147
extern bool IsPostmasterEnvironment;
148148
extern PGDLLIMPORT bool IsUnderPostmaster;
149149
extern bool IsBackgroundWorker;

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