how to check postgres version in windows using cmd. code example Example: check postgres version psql --version