aboutsummaryrefslogtreecommitdiff
path: root/src/include/commands/extension.h
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-12-05 09:23:57 -0500
committerRobert Haas <rhaas@postgresql.org>2017-12-05 09:23:57 -0500
commitc572599c65bfe0387563233faabecd2845073538 (patch)
tree348736d547e050b04ea4294816f2b060429643f6 /src/include/commands/extension.h
parent28f8896af0765a05447f605c55fa9f1ab3b41150 (diff)
downloadpostgresql-c572599c65bfe0387563233faabecd2845073538.tar.gz
postgresql-c572599c65bfe0387563233faabecd2845073538.zip
Mark assorted variables PGDLLIMPORT.
This makes life easier for extension authors who wish to support Windows. Brian Cloutier, slightly amended by me. Discussion: http://postgr.es/m/CAJCy68fscdNhmzFPS4kyO00CADkvXvEa-28H-OtENk-pa2OTWw@mail.gmail.com
Diffstat (limited to 'src/include/commands/extension.h')
-rw-r--r--src/include/commands/extension.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/commands/extension.h b/src/include/commands/extension.h
index 73bba3c784a..a0dfae10c6f 100644
--- a/src/include/commands/extension.h
+++ b/src/include/commands/extension.h
@@ -28,7 +28,7 @@
* them from the extension first.
*/
extern PGDLLIMPORT bool creating_extension;
-extern Oid CurrentExtensionObject;
+extern PGDLLIMPORT Oid CurrentExtensionObject;
extern ObjectAddress CreateExtension(ParseState *pstate, CreateExtensionStmt *stmt);