how to check which version of postgres is running code example Example: check postgres version psql --version