diff --git a/collector.c b/collector.c index 1011d0f..848102d 100644 --- a/collector.c +++ b/collector.c @@ -42,7 +42,7 @@ register_wait_collector(void) worker.bgw_start_time = BgWorkerStart_ConsistentState; worker.bgw_restart_time = 0; worker.bgw_notify_pid = 0; -#if PG_VERSION_NUM >= 100000 +#if PG_VERSION_NUM >= 100000 || defined(WIN32) memcpy(worker.bgw_library_name, "pg_wait_sampling", BGW_MAXLEN); memcpy(worker.bgw_function_name, CppAsString(collector_main), BGW_MAXLEN); #else
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: