Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2c03640

Browse files
authored
Fix return of pgws_ExecutorStart since some systems gave warnings when returning from void functions
2 parents3c1046c +24b2d14 commit2c03640

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎pg_wait_sampling.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -995,9 +995,17 @@ pgws_ExecutorStart(QueryDesc *queryDesc, int eflags)
995995
if (pgws_enabled(nesting_level))
996996
pgws_proc_queryids[i]=queryDesc->plannedstmt->queryId;
997997
if (prev_ExecutorStart)
998+
#ifPG_VERSION_NUM >=180000
998999
returnprev_ExecutorStart(queryDesc,eflags);
1000+
#else
1001+
prev_ExecutorStart(queryDesc,eflags);
1002+
#endif
9991003
else
1004+
#ifPG_VERSION_NUM >=180000
10001005
returnstandard_ExecutorStart(queryDesc,eflags);
1006+
#else
1007+
standard_ExecutorStart(queryDesc,eflags);
1008+
#endif
10011009
}
10021010

10031011
staticvoid

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp