is_installed

Function is_installed 

Source
pub async fn is_installed(ssh: &mut SshClient) -> Result<bool>
Expand description

Check if PostgreSQL is installed on the server

§Arguments

  • ssh - SSH client connection to the server

§Returns

  • Ok(true) if PostgreSQL is installed
  • Ok(false) if PostgreSQL is not installed
  • Err(_) on SSH or command execution errors