projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ec5988
)
PGDLLIMPORT-ify MyBgworkerEntry.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 17 Feb 2014 16:29:34 +0000
(11:29 -0500)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 17 Feb 2014 16:29:34 +0000
(11:29 -0500)
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
patch
|
blob
|
blame
|
history
diff --git
a/src/include/postmaster/bgworker.h
b/src/include/postmaster/bgworker.h
index e0f468fab9eeb7128418713db8ea234ebb9cef21..57e95fe3186f044d40ac506eb9f2a7a40ed2ac23 100644
(file)
--- 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