@@ -80,9 +80,7 @@ static void pgws_ExecutorStart(QueryDesc *queryDesc, int eflags);
80
80
static void pgws_ExecutorRun (QueryDesc * queryDesc ,
81
81
ScanDirection direction ,
82
82
uint64 count
83
- #if PG_VERSION_NUM >= 100000 && PG_VERSION_NUM < 180000
84
83
,bool execute_once
85
- #endif
86
84
);
87
85
static void pgws_ExecutorFinish (QueryDesc * queryDesc );
88
86
static void pgws_ExecutorEnd (QueryDesc * queryDesc );
@@ -1005,9 +1003,7 @@ static void
1005
1003
pgws_ExecutorRun (QueryDesc * queryDesc ,
1006
1004
ScanDirection direction ,
1007
1005
uint64 count
1008
- #if PG_VERSION_NUM >= 100000 && PG_VERSION_NUM < 180000
1009
1006
,bool execute_once
1010
- #endif
1011
1007
)
1012
1008
{
1013
1009
int i = MyProc - ProcGlobal -> allProcs ;
@@ -1017,17 +1013,9 @@ pgws_ExecutorRun(QueryDesc *queryDesc,
1017
1013
PG_TRY ();
1018
1014
{
1019
1015
if (prev_ExecutorRun )
1020
- #if PG_VERSION_NUM >= 100000 && PG_VERSION_NUM < 180000
1021
1016
prev_ExecutorRun (queryDesc , direction , count , execute_once );
1022
- #else
1023
- prev_ExecutorRun (queryDesc , direction , count );
1024
- #endif
1025
1017
else
1026
- #if PG_VERSION_NUM >= 100000 && PG_VERSION_NUM < 180000
1027
1018
standard_ExecutorRun (queryDesc , direction , count , execute_once );
1028
- #else
1029
- standard_ExecutorRun (queryDesc , direction , count );
1030
- #endif
1031
1019
nesting_level -- ;
1032
1020
if (nesting_level == 0 )
1033
1021
pgws_proc_queryids [i ] = UINT64CONST (0 );
0 commit comments