PostgreSQL change the data directory
<p>I'm on Debian 8 and want to have another than the default directory for my databases. I have a vanilla install of PostgreSQL 9.4 (so no user databases yet).
I found this <a href="http://climber2002.github.io/blog/2015/02/07/install-and-configure-postgresql-on-ubuntu-14-dot-04/" rel="noreferrer">http://climber2002.github.io/blog/2015/02/07/install-and-configure-postgresql-on-ubuntu-14-dot-04/</a> about configuring a new data directory. Is this the correct way for doing this (or not)?</p>

<p>Thanks.</p>