@@ -3583,7 +3583,7 @@ vops_substitute_tables_with_projections(char const* queryString, Query *query)
3583
3583
&& bms_is_subset (pullvar_ctx .otherVars , scalarAttrs )) /* variables used in other clauses can be only scalar */
3584
3584
{
3585
3585
List * parsetree_list ;
3586
- #if PG_VERSION_NUM >=100006
3586
+ #if PG_VERSION_NUM >=100000
3587
3587
RawStmt * parsetree ;
3588
3588
#else
3589
3589
Node * parsetree ;
@@ -3598,7 +3598,7 @@ vops_substitute_tables_with_projections(char const* queryString, Query *query)
3598
3598
MemoryContextSwitchTo (spi_memctx );
3599
3599
break ;
3600
3600
}
3601
- #if PG_VERSION_NUM >=100006
3601
+ #if PG_VERSION_NUM >=100000
3602
3602
parsetree = linitial_node (RawStmt , parsetree_list );
3603
3603
select = (SelectStmt * )parsetree -> stmt ;
3604
3604
#else
@@ -3642,7 +3642,7 @@ vops_substitute_tables_with_projections(char const* queryString, Query *query)
3642
3642
PG_TRY ();
3643
3643
{
3644
3644
Query * subst = parse_analyze (parsetree , queryString , NULL , 0
3645
- #if PG_VERSION_NUM >=100006
3645
+ #if PG_VERSION_NUM >=100000
3646
3646
, NULL
3647
3647
#endif
3648
3648
);
@@ -3723,7 +3723,7 @@ static void vops_explain_hook(Query *query,
3723
3723
ParamListInfo params ,
3724
3724
QueryEnvironment * queryEnv )
3725
3725
{
3726
- #elif PG_VERSION_NUM>=100006
3726
+ #elif PG_VERSION_NUM>=100000
3727
3727
static void vops_explain_hook (Query * query ,
3728
3728
int cursorOptions ,
3729
3729
IntoClause * into ,
@@ -3769,7 +3769,7 @@ static void vops_explain_hook(Query *query,
3769
3769
3770
3770
/* run it (if needed) and produce output */
3771
3771
ExplainOnePlan (plan , into , es , queryString , params ,
3772
- #if PG_VERSION_NUM >=100006
3772
+ #if PG_VERSION_NUM >=100000
3773
3773
queryEnv ,
3774
3774
#endif
3775
3775
& planduration );
0 commit comments