Skip to content

Commit 83a5a33

Browse files
committed
pgBufferUsage needs PGDLLIMPORT for pg_stat_statements on Windows.
1 parent 8964dbd commit 83a5a33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/executor/instrument.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 2001-2010, PostgreSQL Global Development Group
88
*
9-
* $PostgreSQL: pgsql/src/include/executor/instrument.h,v 1.22 2010/01/02 16:58:03 momjian Exp $
9+
* $PostgreSQL: pgsql/src/include/executor/instrument.h,v 1.23 2010/01/08 00:48:56 itagaki Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -53,7 +53,7 @@ typedef struct Instrumentation
5353
BufferUsage bufusage; /* Total buffer usage */
5454
} Instrumentation;
5555

56-
extern BufferUsage pgBufferUsage;
56+
extern PGDLLIMPORT BufferUsage pgBufferUsage;
5757

5858
extern Instrumentation *InstrAlloc(int n, int instrument_options);
5959
extern void InstrStartNode(Instrumentation *instr);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy