Function postgresql_archive::blocking::get_archive

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

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

Returns the archive version and bytes.

§Errors

Returns an error if the version is not found.