In Scientific Linux 6.3 (haven't tested this in CentOS), why do I have 2 versions of tools such as psql and pg_dump?:
[root@sl ~]# find / -name psql
My installation process boils down to these steps:
rpm -i http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-sl93-9.3-1.noarch.rpm
yum install postgresql93-server postgresql93-contrib postgresql-contrib
service postgresql-9.3 initdb
So when I invoke the tools without an absolute path:
WARNING: psql version 8.4, server version 9.3.
And the most important question would be, how can I fix this in a cleanly manner?
I see the following recommendation but its more like a workaround to me: