From cac8321970e9fd18730b2ca4e15f2c61dd326053 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Fri, 3 Jun 2016 13:50:51 -0400 Subject: [PATCH] Mark PostmasterPid as PGDLLIMPORT. This is so that extensions can use it. Michael Paquier --- src/include/miscadmin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index 356fcc6edac..78545daecec 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -143,7 +143,7 @@ do { \ /* * from utils/init/globals.c */ -extern pid_t PostmasterPid; +extern PGDLLIMPORT pid_t PostmasterPid; extern bool IsPostmasterEnvironment; extern PGDLLIMPORT bool IsUnderPostmaster; extern bool IsBackgroundWorker; -- 2.39.5