Function pg_embed::fetch::fetch_postgres[][src]

pub async fn fetch_postgres(
    settings: &FetchSettings,
    executable_path: &PathBuf
) -> Result<String, PgEmbedError>
Expand description

Fetch a postgres binary

The settings parameter determines which binary to load. Returns the file name of the downloaded binary in an Ok(String) on success, otherwise returns an error.