|
26 | 26 | #include"commands/trigger.h"
|
27 | 27 | #include"executor/executor.h"
|
28 | 28 | #include"nodes/memnodes.h"
|
| 29 | +#include"nodes/nodeFuncs.h" |
29 | 30 | #ifPG_VERSION_NUM >=120000
|
30 | 31 | #include"nodes/pathnodes.h"
|
31 | 32 | #else
|
@@ -994,11 +995,11 @@ extern AttrNumber *convert_tuples_by_name_map(TupleDesc indesc,
|
994 | 995 |
|
995 | 996 | /*
|
996 | 997 | * [PGPRO-3725] Since 11.7 and 12.1 in pgpro standard and ee PGPRO-2843
|
997 |
| - * appeared, changing the signature, wow.It isnot present inpgpro1c |
998 |
| - *though; PG_VERSION_STR is defined in stdandee but not in 1c, soit is |
999 |
| - *hackishly used for distinguishing them. |
| 998 | + * appeared, changing the signature, wow.There isno numericpgproedition |
| 999 | + *macro (andnever will be, for old versions), sodistinguish via macro added |
| 1000 | + *by the commit. |
1000 | 1001 | */
|
1001 |
| -#if defined(PGPRO_VERSION_STR)&& (PG_VERSION_NUM >=110006) |
| 1002 | +#ifdefQTW_DONT_COPY_DEFAULT |
1002 | 1003 | #defineexpression_tree_mutator_compat(node,mutator,context) \
|
1003 | 1004 | expression_tree_mutator((node), (mutator), (context), 0)
|
1004 | 1005 | #else
|
|