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 3c1046c + 24b2d14 commit 2c03640Copy full SHA for 2c03640
pg_wait_sampling.c
@@ -995,9 +995,17 @@ pgws_ExecutorStart(QueryDesc *queryDesc, int eflags)
995
if (pgws_enabled(nesting_level))
996
pgws_proc_queryids[i] = queryDesc->plannedstmt->queryId;
997
if (prev_ExecutorStart)
998
+#if PG_VERSION_NUM >= 180000
999
return prev_ExecutorStart(queryDesc, eflags);
1000
+#else
1001
+ prev_ExecutorStart(queryDesc, eflags);
1002
+#endif
1003
else
1004
1005
return standard_ExecutorStart(queryDesc, eflags);
1006
1007
+ standard_ExecutorStart(queryDesc, eflags);
1008
1009
}
1010
1011
static void
0 commit comments