From c02d899b6c6faa2b5d55d225b7db3a63a9ab20d8 Mon Sep 17 00:00:00 2001 From: naisila Date: Tue, 11 Mar 2025 15:46:20 +0300 Subject: [PATCH] Change StaticAssertStmt for node-wide objects to pg17 --- src/include/distributed/resource_lock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)