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