3 April 2018
(An intermittent series on PostgreSQL parameters whose default settings you should change.)
archive_mode is set to off, and thus
archive_command is ignored. Even if you are not going to be using WAL archiving, you should change these. You can use settings such as:
archive_mode = on
archive_command = '/bin/true'
It requires a server restart to turn on
archive_mode, but just a reload to change
archive_command. Thus, you’re ready to start WAL archiving without a restart by getting these set in advance.