title: Postgresql: issue with connecting to primery database after changing the archive directory address
body: <p>I have a postgresql cluster with one primary and one slave node.
  The wal files were storing in primary database server and we decided to change its location to another directory which is mapped to a shared storage.
  to make the address change, first I took down postgresql service on oth servers and then I have edited the postgresql.conf file in primary server to store wals in the new directory and also I changed the restore command in slave server to read wals from the new address.</p>
  <p>after restarting the postgresql I'm getting this error:</p>
  <p>Slave node:</p>
  <pre><code>CEST FATAL:  could not connect to the primary server: FATAL:  password authentication failed for user &quot;replicationuser&quot;
  </code></pre>
  <p>Primary node:</p>
  <pre><code>CEST FATAL:  password authentication failed for user &quot;replicationuser&quot;
  CEST DETAIL:  Password does not match for user &quot;replicationuser&quot;.
  </code></pre>
  <p>My question is, I have not made any changes in replication user password, I just changed the wal directory address. why should I get this error message?</p>