title: Proper way of recovering a Postgres database from a PGdata folder?
body: <p>My PC has its OS reinstalled recently. I'm left with the PGdata folder of a Postgres server that was locally hosted.</p>
  
  <p>Could anyone explain how to recover all the data therein? My first intuition was to start a new server and replace its new PGdata folder with the old one but this seems somewhat barbaric.</p>