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