diff --git a/src/include/distributed/resource_lock.h b/src/include/distributed/resource_lock.h index b6f9fcfbe..7d67b173d 100644 --- a/src/include/distributed/resource_lock.h +++ b/src/include/distributed/resource_lock.h @@ -169,7 +169,7 @@ IsNodeWideObjectClass(ObjectClass objectClass) * If new object classes are added and none of them are node-wide, then update * this assertion check based on latest supported major Postgres version. */ - StaticAssertStmt(PG_MAJORVERSION_NUM <= 16, + StaticAssertStmt(PG_MAJORVERSION_NUM <= 17, "better to check if any of newly added ObjectClass'es are node-wide"); switch (objectClass)