get_installed_version

Function get_installed_version 

Source
pub async fn get_installed_version(
    ssh: &mut SshClient,
) -> Result<Option<String>>
Expand description

Get installed PostgreSQL version

§Arguments

  • ssh - SSH client connection to the server

§Returns

  • Ok(Some(version)) if PostgreSQL is installed
  • Ok(None) if PostgreSQL is not installed