postgresql get current version code example Example: get postgres version postgres -V // or psql --version