postgres get version from within database code example Example: check postgres version psql --version