Skip to content

Commit 9dad24b

Browse files
Maksim MilyutinSergey Shinderuk
authored andcommitted
Add missing PGDLLEXPORT markings for collector_main function
After commit 089480c07, it's necessary for background worker entry points to be marked PGDLLEXPORT, else they aren't findable by LookupBackgroundWorkerFunction().
1 parent a2051cd commit 9dad24b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pg_wait_sampling.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ extern void init_lock_tag(LOCKTAG *tag, uint32 lock);
8181
/* collector.c */
8282
extern void register_wait_collector(void);
8383
extern void alloc_history(History *, int);
84-
extern void collector_main(Datum main_arg);
84+
extern PGDLLEXPORT void collector_main(Datum main_arg);
8585

8686
extern void shm_mq_detach_compat(shm_mq_handle *mqh, shm_mq *mq);
8787
extern shm_mq_result shm_mq_send_compat(shm_mq_handle *mqh, Size nbytes,

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