From: Jehan-Guillaume de Rorthais Date: Wed, 24 Jul 2019 14:58:41 +0200 Subject: [PATCH] Add doc details for pg_receivewal with remote_apply --- doc/src/sgml/ref/pg_receivewal.sgml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/ref/pg_receivewal.sgml b/doc/src/sgml/ref/pg_receivewal.sgml index 177e9211c0..abf55ce713 100644 --- a/doc/src/sgml/ref/pg_receivewal.sgml +++ b/doc/src/sgml/ref/pg_receivewal.sgml @@ -62,7 +62,12 @@ PostgreSQL documentation application_name for pg_receivewal that does not match it, or change the value of synchronous_commit to - something other than remote_apply. + something other than remote_apply either cluster wide or + just for a dedicated role to pg_receivewal: + +CREATE ROLE receivewal WITH LOGIN REPLICATION; +ALTER ROLE receivewal SET synchronous_commit TO on; + -- 2.20.1 --MP_/W7jqwww14IVqmBj_ToIMyry--