Change StaticAssertStmt for node-wide objects to pg17

pull/7922/head
naisila 2025-03-11 15:46:20 +03:00
parent 421bc462b2
commit c02d899b6c
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ IsNodeWideObjectClass(ObjectClass objectClass)
* If new object classes are added and none of them are node-wide, then update * 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. * 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"); "better to check if any of newly added ObjectClass'es are node-wide");
switch (objectClass) switch (objectClass)