I installed postgres 9.5 quite a while ago, and since a few months ago have upgraded to 9.6 and used that. Recently I shut down my computer and restarted postgres, but when I connect to the 9.6 server and run
SHOW data_directory
it is showing that my data directory is under the 9.5 folder. As a result, none of my recent databases are available because I am linked to the old version of postgres. What happened and how can I change it back?
