how to find which postgresql version your database is on code example Example: check postgres version psql --version