how to check postgres version at power shell code example Example: check postgres version psql --version