summaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/postgresql.conf.sample
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-02-10 21:00:29 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-02-10 21:04:02 +0200
commitb186523fd97ce02ffbb7e21d5385a047deeef4f6 (patch)
tree00e70beaaa8529b291f85b214ee87fc686083cea /src/backend/utils/misc/postgresql.conf.sample
parent4c468b37a281941afd3bf61c782b20def8c17047 (diff)
Send status updates back from standby server to master, indicating how far
the standby has written, flushed, and applied the WAL. At the moment, this is for informational purposes only, the values are only shown in pg_stat_replication system view, but in the future they will also be needed for synchronous replication. Extracted from Simon riggs' synchronous replication patch by Robert Haas, with some tweaking by me.
Diffstat (limited to 'src/backend/utils/misc/postgresql.conf.sample')
-rw-r--r--src/backend/utils/misc/postgresql.conf.sample1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index fe80c4dc239..5d31365dab4 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -202,6 +202,7 @@
#max_standby_streaming_delay = 30s # max delay before canceling queries
# when reading streaming WAL;
# -1 allows indefinite delay
+#wal_receiver_status_interval = 10s # replies at least this often, 0 disables
#------------------------------------------------------------------------------