pub fn insert_allowed(
relid: u32,
role: u32,
attnums: &[i16],
session: &dyn Session,
) -> Result<bool>Expand description
ExecCheckOneRelPerms for INSERT into the columns attnums: true when the role has INSERT on the table, or on each of the columns. With no columns, INSERT on any column is enough.
ยงErrors
The error of an ACL that is not correct.