mirror of https://github.com/citusdata/citus.git
Change StaticAssertStmt for node-wide objects to pg17
parent
421bc462b2
commit
c02d899b6c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue