8000 Fix build aqo for PGPRO version. · postgrespro/aqo@8c6c1ca · GitHub
[go: up one dir, main page]

Skip to content

Commit 8c6c1ca

Browse files
author
Alena Rybakina
committed
Fix build aqo for PGPRO version.
Add macros expression_tree_mutator for flexible calling expression_tree_mutator containing addition forth parameter only in pgpro version.
1 parent 0576bb0 commit 8c6c1ca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

path_utils.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
#include "aqo.h"
2424
#include "hash.h"
2525

26+
#ifdef PGPRO_STD
27+
# define expression_tree_mutator(node, mutator, context) \
28+
expression_tree_mutator(node, mutator, context, 0)
29+
#endif
2630

2731
/*
2832
* Hook on creation of a plan node. We need to store AQO-specific data to

0 commit comments

Comments
 (0)
0