diff options
author | Itagaki Takahiro <itagaki.takahiro@gmail.com> | 2010-01-08 00:48:56 +0000 |
---|---|---|
committer | Itagaki Takahiro <itagaki.takahiro@gmail.com> | 2010-01-08 00:48:56 +0000 |
commit | 83a5a338bf0bab2507f9d72fc011845251248439 (patch) | |
tree | 355ae7939caa73275b603b45864fd363bf7857bc /src | |
parent | 8964dbd51e4e3e7ea179f85b46ce52715383d869 (diff) | |
download | postgresql-83a5a338bf0bab2507f9d72fc011845251248439.tar.gz postgresql-83a5a338bf0bab2507f9d72fc011845251248439.zip |
pgBufferUsage needs PGDLLIMPORT for pg_stat_statements on Windows.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/executor/instrument.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/executor/instrument.h b/src/include/executor/instrument.h index b1cff6d91f5..66cacb11ba9 100644 --- a/src/include/executor/instrument.h +++ b/src/include/executor/instrument.h @@ -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); |