Commit 83a5a338 authored by Itagaki Takahiro's avatar Itagaki Takahiro

pgBufferUsage needs PGDLLIMPORT for pg_stat_statements on Windows.

parent 8964dbd5
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* Copyright (c) 2001-2010, PostgreSQL Global Development Group * 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 ...@@ -53,7 +53,7 @@ typedef struct Instrumentation
BufferUsage bufusage; /* Total buffer usage */ BufferUsage bufusage; /* Total buffer usage */
} Instrumentation; } Instrumentation;
extern BufferUsage pgBufferUsage; extern PGDLLIMPORT BufferUsage pgBufferUsage;
extern Instrumentation *InstrAlloc(int n, int instrument_options); extern Instrumentation *InstrAlloc(int n, int instrument_options);
extern void InstrStartNode(Instrumentation *instr); extern void InstrStartNode(Instrumentation *instr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment