Function pg_is_running

Source
pub fn pg_is_running(container_name: &str) -> Result<bool, Box<EvalAltResult>>
Expand description

Check if PostgreSQL is running

§Arguments

  • container_name - Name of the PostgreSQL container

§Returns

  • Result<bool, Box<EvalAltResult>> - true if running, false otherwise, or error