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

Commit33c1236

Browse files
committed
PGPRO-12044: Use vanilla ExecutorRun hook simplification.
Caused by: - 3eea7a0c97e94f9570af87317ce3f6a41eb62768 (PostgreSQL) Simplify executor's determination of whether to use parallelism. -138323b (pg_query_state subtree) Merged versions 9.6 and 10 Tags: pg_query_state
1 parentee0d4a8 commit33c1236

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎pg_query_state.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ void_PG_init(void);
5151

5252
/* hooks defined in this module */
5353
staticvoidqs_ExecutorStart(QueryDesc*queryDesc,inteflags);
54-
#ifPG_VERSION_NUM<100000
54+
#ifPG_VERSION_NUM<100000||PG_VERSION_NUM >=180000
5555
staticvoidqs_ExecutorRun(QueryDesc*queryDesc,ScanDirectiondirection,uint64count);
5656
#else
5757
staticvoidqs_ExecutorRun(QueryDesc*queryDesc,ScanDirectiondirection,
@@ -296,7 +296,7 @@ qs_ExecutorStart(QueryDesc *queryDesc, int eflags)
296296
* Catch any fatal signals
297297
*/
298298
staticvoid
299-
#ifPG_VERSION_NUM<100000
299+
#ifPG_VERSION_NUM<100000||PG_VERSION_NUM >=180000
300300
qs_ExecutorRun(QueryDesc*queryDesc,ScanDirectiondirection,uint64count)
301301
#else
302302
qs_ExecutorRun(QueryDesc*queryDesc,ScanDirectiondirection,uint64count,
@@ -308,7 +308,7 @@ qs_ExecutorRun(QueryDesc *queryDesc, ScanDirection direction, uint64 count,
308308
PG_TRY();
309309
{
310310
if (prev_ExecutorRun)
311-
#ifPG_VERSION_NUM<100000
311+
#ifPG_VERSION_NUM<100000||PG_VERSION_NUM >=180000
312312
prev_ExecutorRun(queryDesc,direction,count);
313313
else
314314
standard_ExecutorRun(queryDesc,direction,count);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp