]> granicus.if.org Git - postgresql/commitdiff
pgBufferUsage needs PGDLLIMPORT for pg_stat_statements on Windows.
authorItagaki Takahiro <itagaki.takahiro@gmail.com>
Fri, 8 Jan 2010 00:48:56 +0000 (00:48 +0000)
committerItagaki Takahiro <itagaki.takahiro@gmail.com>
Fri, 8 Jan 2010 00:48:56 +0000 (00:48 +0000)
src/include/executor/instrument.h

index b1cff6d91f5eed7a09546fdc7cc61dd38d5ff116..66cacb11ba9352dc8cc2bff36e1f319c61ae3496 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 2001-2010, PostgreSQL Global Development Group
  *
- * $PostgreSQL: pgsql/src/include/executor/instrument.h,v 1.22 2010/01/02 16:58:03 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/executor/instrument.h,v 1.23 2010/01/08 00:48:56 itagaki Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -53,7 +53,7 @@ typedef struct Instrumentation
        BufferUsage     bufusage;               /* Total buffer usage */
 } Instrumentation;
 
-extern BufferUsage             pgBufferUsage;
+extern PGDLLIMPORT BufferUsage         pgBufferUsage;
 
 extern Instrumentation *InstrAlloc(int n, int instrument_options);
 extern void InstrStartNode(Instrumentation *instr);