Function pg_embed::fetch::fetch_postgres [−][src]
pub async fn fetch_postgres(
settings: &FetchSettings,
executable_path: &str
) -> Result<String>
Fetch a postgres binary
The FetchSettings parameter determines which binary to load.
Returns the file name of the downloaded binary in an Ok(String)
on success, otherwise returns an error.