postgres.git / summary / log / commit / refs
commit 6fc2868e4f97c2918138f0cc43a54d64e6a810fd
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Mon Feb 17 16:29:34 2014 +0000
First released in: 9.3.3
PGDLLIMPORT-ify MyBgworkerEntry.
This was done in HEAD in commit 7d7eee8bb702d7796a0d7c5886c1f4685f2e2806,
but 9.3 needs it too for contrib/worker_spi. Per buildfarm member narwhal.
src/include/postmaster/bgworker.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/include/postmaster/bgworker.h b/src/include/postmaster/bgworker.h
index e0f468fab9e..57e95fe3186 100644
--- a/src/include/postmaster/bgworker.h
+++ b/src/include/postmaster/bgworker.h
@@ -82,7 +82,7 @@ typedef struct BackgroundWorker
extern void RegisterBackgroundWorker(BackgroundWorker *worker);
/* This is valid in a running worker */
-extern BackgroundWorker *MyBgworkerEntry;
+extern PGDLLIMPORT BackgroundWorker *MyBgworkerEntry;
/*
* Connect to the specified database, as the specified user. Only a worker
[parent: 1ec5988f316b]