postgres.git / summary / log / commit / refs

commit    cac8321970e9fd18730b2ca4e15f2c61dd326053
Author:   Robert Haas <rhaas@postgresql.org>
Date:     Fri Jun 03 17:50:51 2016 +0000

    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; [parent: 370a46fc0151]