command to check the version of postgresql code example Example: check postgres version psql --version