async fn check_schema_privileges( config: &Config, client: &Client, table_oids: &[Oid], ) -> Result<(), PlanError>