From 1d52af2492ac63795444e738729694148b6f192e Mon Sep 17 00:00:00 2001 From: Jason Petersen Date: Wed, 19 Apr 2017 23:07:20 -0600 Subject: [PATCH] Bump static assert No changes needed; won't have to check again until 10.1, or whatever that version ends up being called. --- src/backend/distributed/planner/multi_router_planner.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/backend/distributed/planner/multi_router_planner.c b/src/backend/distributed/planner/multi_router_planner.c index 5a053f382..cf8a5266b 100644 --- a/src/backend/distributed/planner/multi_router_planner.c +++ b/src/backend/distributed/planner/multi_router_planner.c @@ -1638,13 +1638,14 @@ MasterIrreducibleExpressionWalker(Node *expression, WalkerState *state) * should be checked in this function. * * Look through contain_mutable_functions_walker or future PG's equivalent for new - * node types before bumping this version number to fix compilation. + * node types before bumping this version number to fix compilation; e.g. for any + * PostgreSQL after 9.5, see check_functions_in_node. * * Once you've added them to this check, make sure you also evaluate them in the * executor! */ - StaticAssertStmt(PG_VERSION_NUM < 90700, "When porting to a newer PG this section" - " needs to be reviewed."); + StaticAssertStmt(PG_VERSION_NUM < 100100, "When porting to a newer PG this section" + " needs to be reviewed."); if (IsA(expression, Aggref)) { Aggref *expr = (Aggref *) expression;