how to check the version of postgressql db running on centos 8 code example Example: check postgres version psql --version