mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
PGDLLIMPORT-ify MyBgworkerEntry.
This was done in HEAD in commit 7d7eee8bb7
,
but 9.3 needs it too for contrib/worker_spi. Per buildfarm member narwhal.
This commit is contained in:
@ -82,7 +82,7 @@ typedef struct BackgroundWorker
|
|||||||
extern void RegisterBackgroundWorker(BackgroundWorker *worker);
|
extern void RegisterBackgroundWorker(BackgroundWorker *worker);
|
||||||
|
|
||||||
/* This is valid in a running 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
|
* Connect to the specified database, as the specified user. Only a worker
|
||||||
|
Reference in New Issue
Block a user