how to check the postgresql version in linux code example Example: check postgres version psql --version