From 40f908bdcdc726fc11912cd95dfd2f89603d1f37 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Fri, 15 Jan 2010 09:19:10 +0000 Subject: Introduce Streaming Replication. This includes two new kinds of postmaster processes, walsenders and walreceiver. Walreceiver is responsible for connecting to the primary server and streaming WAL to disk, while walsender runs in the primary server and streams WAL from disk to the client. Documentation still needs work, but the basics are there. We will probably pull the replication section to a new chapter later on, as well as the sections describing file-based replication. But let's do that as a separate patch, so that it's easier to see what has been added/changed. This patch also adds a new section to the chapter about FE/BE protocol, documenting the protocol used by walsender/walreceivxer. Bump catalog version because of two new functions, pg_last_xlog_receive_location() and pg_last_xlog_replay_location(), for monitoring the progress of replication. Fujii Masao, with additional hacking by me --- src/backend/utils/misc/postgresql.conf.sample | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/backend/utils/misc/postgresql.conf.sample') diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index c4ddeaf2bca..2b4e761096f 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -185,6 +185,12 @@ #max_standby_delay = 30 # max acceptable standby lag (s) to help queries # complete without conflict; -1 disables +# - Replication - + +#max_wal_senders = 0 # max number of walsender processes +#wal_sender_delay = 200ms # 1-10000 milliseconds + + #------------------------------------------------------------------------------ # QUERY TUNING #------------------------------------------------------------------------------ -- cgit v1.2.3