pub(super) async fn validate_requested_references_privileges(
    config: &Config,
    client: &Client,
    table_oids: &[Oid],
) -> Result<(), PlanError>
Expand description

Ensure that we have select permissions on all tables; we have to do this before we start snapshotting because if we discover we cannot COPY from a table while snapshotting, we break the entire source.