how to tell which version of postgres i am using? code example Example 1: check postgres version psql --version Example 2: postgres version command SELECT version();