Thanks to visit codestin.com Credit goes to github.com
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.
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