mirror of https://github.com/citusdata/citus.git
Fixes PG 16 compile warning
parent
83079e46bc
commit
70f1420811
|
@ -109,7 +109,11 @@ CheckPermissionsAndGrants(AclItem *aclItem, AclMode modes[], int numModes)
|
|||
AclMode mode = modes[i];
|
||||
if (!(grants & mode) || (permissions & mode))
|
||||
{
|
||||
#if PG_VERSION_NUM >= PG_VERSION_16
|
||||
ereport(ERROR, (errmsg("ACL item has no grant option for mode %lu", mode)));
|
||||
#else
|
||||
ereport(ERROR, (errmsg("ACL item has no grant option for mode %u", mode)));
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue