Modify PostgreSQL archiving configuration needed by HA.

(cherry picked from commit 398b26a983aaf9e498e13d62a9b779ec87cfdfe6)