Skip to content

Commit

Permalink
Add to the documentation the need to have archive_mode and
Browse files Browse the repository at this point in the history
archive_command set in postgresql.conf

Fixes #154
  • Loading branch information
martinmarques committed Apr 6, 2016
1 parent 1db577e commit 925d82f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,20 @@ The following replication settings must be included in `postgresql.conf`:

hot_standby = on

# If archive_mode is enabled, check that 'archive_command' is non empty
# (however it's not practical to check that it actually represents a valid
# command).
#
# From PostgreSQL 9.5, archive_mode can be one of 'off', 'on' or 'always'
# so for ease of backwards compatibility, rather than explicitly check for an
# enabled mode, check that it's not "off".
archive_mode = on

# Set archive command to a script or application that will safetly store
# you WALs in a secure place. /bin/true is an example of a command that
# ignores archiving. Use something more sensible.
archive_command = '/bin/true'


* * *

Expand Down

0 comments on commit 925d82f

Please sign in to comment.