database version postgresql code example Example: postgresql version command # SSH psql --version # SQL SELECT version();