title: Upgrade psql on Mac OS - Mismatching client and server versions. Some psql features might not work
body: <p>I have just upgraded to PostgreSQL 10.11 on macOS using Homebrew and I am now getting the following message:</p>
  
  <pre><code>psql crmpicco
  psql (9.6.16, server 10.11)
  WARNING: psql major version 9.6, server major version 10.
           Some psql features might not work.
  Type "help" for help.
  
  crmpicco=# 
  </code></pre>
  
  <p>There's plenty of advice online for resolving this for Debian and Ubuntu, but nothing for MacOS/Homebrew.</p>
  
  <p>How can I update <code>psql</code> locally to get rid of this message?</p>