Function check_rls_privileges

Source
pub async fn check_rls_privileges(
    client: &Client,
    table_oids: &[Oid],
) -> Result<(), PlanError>
Expand description

Ensure that the user specified in config can read data from tables if row level security (RLS) is enabled. If the user/role does not have the BYPASSRLS attribute set, there is the possibility that MZ may not be able to read all data during the snapshot, which would result in missing data.