@@ -80,9 +80,7 @@ static void pgws_ExecutorStart(QueryDesc *queryDesc, int eflags);
8080static void pgws_ExecutorRun (QueryDesc * queryDesc ,
8181 ScanDirection direction ,
8282 uint64 count
83- #if PG_VERSION_NUM >= 100000 && PG_VERSION_NUM < 180000
8483 ,bool execute_once
85- #endif
8684);
8785static void pgws_ExecutorFinish (QueryDesc * queryDesc );
8886static void pgws_ExecutorEnd (QueryDesc * queryDesc );
@@ -1005,9 +1003,7 @@ static void
10051003pgws_ExecutorRun (QueryDesc * queryDesc ,
10061004 ScanDirection direction ,
10071005 uint64 count
1008- #if PG_VERSION_NUM >= 100000 && PG_VERSION_NUM < 180000
10091006 ,bool execute_once
1010- #endif
10111007)
10121008{
10131009 int i = MyProc - ProcGlobal -> allProcs ;
@@ -1017,17 +1013,9 @@ pgws_ExecutorRun(QueryDesc *queryDesc,
10171013 PG_TRY ();
10181014 {
10191015 if (prev_ExecutorRun )
1020- #if PG_VERSION_NUM >= 100000 && PG_VERSION_NUM < 180000
10211016 prev_ExecutorRun (queryDesc , direction , count , execute_once );
1022- #else
1023- prev_ExecutorRun (queryDesc , direction , count );
1024- #endif
10251017 else
1026- #if PG_VERSION_NUM >= 100000 && PG_VERSION_NUM < 180000
10271018 standard_ExecutorRun (queryDesc , direction , count , execute_once );
1028- #else
1029- standard_ExecutorRun (queryDesc , direction , count );
1030- #endif
10311019 nesting_level -- ;
10321020 if (nesting_level == 0 )
10331021 pgws_proc_queryids [i ] = UINT64CONST (0 );
0 commit comments