title: How to syntax check PostgreSQL config files?
body: <p>I am often editing the pg_hda.conf file and I was just wondering if there is a way to make sure that what I just wrote is correct.</p>
  
  <p>So far I'm using a test server to check my changes.</p>
  
  <p>Like Apache has its <code>apache2ctl -t</code> command, does Postgres has something similar?</p>