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