8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd4e5dd commit e28b7afCopy full SHA for e28b7af
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