how to get current postgresql version query code example Example: check postgres version psql --version