Here's my situation: I have two versions of postgres installed, and with the two versions, come two different psql interactive terminals.
One is located at /usr/bin/psql, and starts when I run # psql -U username
Another newer one is located at /usr/pgsql-9.1/bin/psql
I want the newer one to start by default when I run psql from the command line. How can this be done? Thanks!
Edit: I am using centos