title: How do I correct the mismatch of psql version and postgresql version?
body: <p>Somewhere along the line I have ended up with a version mismatch between <code>postgresql-9.4</code> and <code>psql</code> which is version 9.3 despite the fact that version 9.4 is installed. 
  I think I need to correct the <code>$PATH</code> variable but I don't know where to find this. I've looked in my <code>/etc/.bashrc</code> file and can't see anything that points me in the right direction. </p>
  
  <p>When I do <code>sudo find / -name psql</code> the result is:</p>
  
  <pre><code>/usr/bin/psql
  /usr/share/bash-completion/completions/psql
  /usr/pgsql-9.4/bin/psql
  </code></pre>
  
  <p><code>yum list installed | grep postgres</code> yields the following:</p>
  
  <pre><code>postgresql.x86_64                9.3.9-1.fc21                          @updates 
  postgresql-contrib.x86_64        9.3.9-1.fc21                          @updates 
  postgresql-devel.x86_64          9.3.9-1.fc21                          @updates 
  postgresql-libs.x86_64           9.3.9-1.fc21                          @updates 
  postgresql-server.x86_64         9.3.9-1.fc21                          @updates 
  postgresql94.x86_64              9.4.5-1PGDG.f21                       @pgdg94  
  postgresql94-libs.x86_64         9.4.5-1PGDG.f21                       @pgdg94  
  postgresql94-server.x86_64       9.4.5-1PGDG.f21                       @pgdg94 
  </code></pre>