We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bd4e5dd + e28b7af commit 1ab3270Copy full SHA for 1ab3270
collector.c
@@ -42,7 +42,7 @@ register_wait_collector(void)
42
worker.bgw_start_time = BgWorkerStart_ConsistentState;
43
worker.bgw_restart_time = 0;
44
worker.bgw_notify_pid = 0;
45
-#if PG_VERSION_NUM >= 100000
+#if PG_VERSION_NUM >= 100000 || defined(WIN32)
46
memcpy(worker.bgw_library_name, "pg_wait_sampling", BGW_MAXLEN);
47
memcpy(worker.bgw_function_name, CppAsString(collector_main), BGW_MAXLEN);
48
#else
0 commit comments