postgres sql get version pgadmin code example Example: get postgres version postgres -V // or psql --version