Function postgresql_archive::blocking::get_archive_for_target

source ·
pub fn get_archive_for_target<S: AsRef<str>>(
    releases_url: &str,
    version: &Version,
    target: S,
) -> Result<(Version, Bytes)>
Expand description

Gets the archive for a given version of PostgreSQL and target. If the version or target is not found, then an error is returned.

Returns the archive version and bytes.

§Errors

Returns an error if the version or target is not found.