Skip to main content

with_postgres

Function with_postgres 

Source
pub(crate) fn with_postgres(argv: &[String]) -> Result<()>
Expand description

Starts Postgres, exports DATABASE_URL, and runs the given command.

The cluster stops when Postgres drops, including on the error paths.