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