title: How to fix pg_dump version mismatch errors?
body: <p>When trying to get local data to Heroku, I am encountering a version mismatch between two different versions of pg_dump.</p>
  
  <p>Specifically, I am getting this message:</p>
  
  <pre><code>pg_dump: server version: 9.2.2; pg_dump version: 9.1.4
  pg_dump: aborting because of server version mismatch
  </code></pre>
  
  <p>I have found others with this problem, but do not know enough to implement the proposed solutions.  (I am new to Ruby on Rails, PostgreSQL, Heroku, and the Mac! Very much at the stage of playing around the picking things up as I go.)</p>
  
  <p>I was thinking I might simplify my life if I uninstalled all PostgreSQL on my local machine and started again with a clean install of PostgreSQL 9.2.2 from <a href="http://postgresapp.com/">http://postgresapp.com/</a>, but I don't know how to go about doing the uninstall.  </p>
  
  <p>I'm running Mac OS X Mountain Lion 10.8.2.</p>