how to check how many postgresql are installed in linux code example Example: check postgres version psql --version