Doc: Clarify interactions of pg_receivewal with remote_apply
authorMichael Paquier <michael@paquier.xyz>
Wed, 24 Jul 2019 02:25:43 +0000 (11:25 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 24 Jul 2019 02:25:43 +0000 (11:25 +0900)
commitfd7d387e0548fd371c06a91d75bc4632541ccfdd
treeca5779645769fecff1bd2caf3b0c73751f120d4e
parent7d81bdc8c0ce838efa248928065e9b2da829f981
Doc: Clarify interactions of pg_receivewal with remote_apply

Using pg_receivewal with synchronous_commit = remote_apply set in the
backend is incompatible if pg_receivewal is a synchronous standby as it
never applies WAL, so document this problem and solutions to it.

Backpatch to 9.6, where remote_apply has been added.

Author: Robert Haas, Jesper Pedersen
Reviewed-by: Laurenz Albe, Álvaro Herrera, Michael Paquier
Discussion: https://postgr.es/m/1427a2d3-1e51-9335-1931-4f8853d90d5e@redhat.com
Backpatch-through: 9.6
doc/src/sgml/ref/pg_receivewal.sgml