Bump static assert

No changes needed; won't have to check again until 10.1, or whatever
that version ends up being called.
pull/1439/head
Jason Petersen 2017-04-19 23:07:20 -06:00
parent d5e636b84d
commit 1d52af2492
No known key found for this signature in database
GPG Key ID: 9F1D3510D110ABA9
1 changed files with 4 additions and 3 deletions

View File

@ -1638,13 +1638,14 @@ MasterIrreducibleExpressionWalker(Node *expression, WalkerState *state)
* should be checked in this function. * should be checked in this function.
* *
* Look through contain_mutable_functions_walker or future PG's equivalent for new * 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 * Once you've added them to this check, make sure you also evaluate them in the
* executor! * executor!
*/ */
StaticAssertStmt(PG_VERSION_NUM < 90700, "When porting to a newer PG this section" StaticAssertStmt(PG_VERSION_NUM < 100100, "When porting to a newer PG this section"
" needs to be reviewed."); " needs to be reviewed.");
if (IsA(expression, Aggref)) if (IsA(expression, Aggref))
{ {
Aggref *expr = (Aggref *) expression; Aggref *expr = (Aggref *) expression;