From 901d419e310b75660f1cba097b09f3a70ee2bc92 Mon Sep 17 00:00:00 2001
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: Mon, 5 Jan 2009 02:27:45 +0000
Subject: [PATCH] Export IsUnderPostmaster on win32.

ITAGAKI Takahiro
---
 src/include/miscadmin.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h
index e1c1042d681..57ee0f93dd4 100644
--- a/src/include/miscadmin.h
+++ b/src/include/miscadmin.h
@@ -13,7 +13,7 @@
  * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.208 2009/01/03 20:03:08 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.209 2009/01/05 02:27:45 alvherre Exp $
  *
  * NOTES
  *	  some of the information in this file should be moved to other files.
@@ -123,7 +123,7 @@ do { \
  */
 extern pid_t PostmasterPid;
 extern bool IsPostmasterEnvironment;
-extern bool IsUnderPostmaster;
+extern PGDLLIMPORT bool IsUnderPostmaster;
 
 extern bool ExitOnAnyError;
 
-- 
GitLab