title: Use Bash to test if PostgreSQL hstore extension is enabled
body: <p>I need use a Bash test to check if the <code>hstore</code> extension is enabled in PostgreSQL. Advice appreciated.</p>
  
  <h3>Update</h3>
  
  <p>Thanks for the helpful answers. In spite of the haters this helped me write <a href="http://ryanburnette.com/2015/01/enable-postgresql-hstore-with-bash.html" rel="nofollow">this useful bash script that enables PostgreSQL hstore</a>.</p>