From a600605bc15d6f0fbddfdacb5015bfc081e8de48 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Fri, 8 May 2009 03:21:35 +0000
Subject: [PATCH] 'PGDLLIMPORT' ShmemVariableCache, needed for pg_migrator.so
 function linkage on Win32.

Tested by Hiroshi Saito
---
 src/include/access/transam.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/include/access/transam.h b/src/include/access/transam.h
index 8b441d89e6c..b23a663c53a 100644
--- a/src/include/access/transam.h
+++ b/src/include/access/transam.h
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/include/access/transam.h,v 1.67 2009/01/01 17:23:56 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/access/transam.h,v 1.68 2009/05/08 03:21:35 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -130,7 +130,7 @@ typedef VariableCacheData *VariableCache;
  */
 
 /* in transam/varsup.c */
-extern VariableCache ShmemVariableCache;
+extern PGDLLIMPORT VariableCache ShmemVariableCache;
 
 
 /*
-- 
GitLab