From: Itagaki Takahiro Date: Fri, 8 Jan 2010 00:48:56 +0000 (+0000) Subject: pgBufferUsage needs PGDLLIMPORT for pg_stat_statements on Windows. X-Git-Tag: REL9_0_ALPHA4~294 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=83a5a338bf0bab2507f9d72fc011845251248439;p=postgresql pgBufferUsage needs PGDLLIMPORT for pg_stat_statements on Windows. --- diff --git a/src/include/executor/instrument.h b/src/include/executor/instrument.h index b1cff6d91f..66cacb11ba 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);