how to find which version of postgres im using code example
Example 1: check postgres version
psql --version
Example 2: get postgres version
postgres -V
// or
psql --version
psql --version
postgres -V
// or
psql --version