Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hpNSr-0004Aw-3D for pgsql-hackers@arkaria.postgresql.org; Mon, 22 Jul 2019 01:50:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hpNRq-0004dS-L9 for pgsql-hackers@arkaria.postgresql.org; Mon, 22 Jul 2019 01:49:06 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hpNRp-0004dL-0z for pgsql-hackers@lists.postgresql.org; Mon, 22 Jul 2019 01:49:06 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1hpNRh-0000YB-SW for pgsql-hackers@postgresql.org; Mon, 22 Jul 2019 01:49:03 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id DCC7222136; Sun, 21 Jul 2019 21:48:56 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 21 Jul 2019 21:48:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=+LM3AR1dqyJ8MwO7NJnasdrW9Gr bH4LzGdb+rHXVMok=; b=ih2+78fdGKv+QWa0wMnJkFws08JfzLBvfYniIBDEfjo YCIFmoDDkV82QfgqkQow1GbZ0lZrnBVHm+8zGl7WmB72GYZNPysy9yfl6SNd1Iyo NQz01gtU4LaohEkUsQQrhJYWdl0DhLmjMzF3UYV+fbC6HwgimBexuubJ8bxRWN7J W0O8XM1Ns14Y85ARfsmFnBRjSs+Oh3osbe8gIbMG9eknoq4tr1upSq5Jayh9LcOP ut9XUPcSw/NVQ/CnqPdniAkpc8OWCUBEKMSn/n9zVevhafQAzzgvDVa7UpDYh3as lrPA/r1NGV0lbNRqhmPOisuTcacI324pRjU8kaC5thw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=+LM3AR 1dqyJ8MwO7NJnasdrW9GrbH4LzGdb+rHXVMok=; b=Htea+f8XEw47wwAt9HfB77 0XDOqzhpa9TrFDQd90Ui70x4rscW3Kr73OPMDuy4pjaBUEf6Csrgq3pS7Hw3sdCX +Gis3NggAOiAYONZqoDrb9SJNBcsPJWKP3dCCfwjnQY+lg5R1KiWnvPrVMg+tQx/ SZ/7ydYGFXUXBrlw45Rivi3EdYDN09gXHKyZxRWYXoqiboDbv4Go0PJaqPPVvC2L 7VxhlGXQqFX73HqwLByMbcSUNnpAPzw0vfHNu97+J5XGxo2VfQ0zdbsQtRAOphZ7 D/u+dNaN2KkW9FOikbHgO5MCWgNSy1uQiqc58TFWN4Pq2NWWCowQprpQi34b+qiA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrjeefgdehtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdejtddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecukfhppeduuddurddutddvrddukedtrddukeehnecurfgrrhgr mhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiiinecuvehluh hsthgvrhfuihiivgeptd X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 8EE1C80062; Sun, 21 Jul 2019 21:48:54 -0400 (EDT) Date: Mon, 22 Jul 2019 10:48:51 +0900 From: Michael Paquier To: Robert Haas Cc: Jesper Pedersen , Laurenz Albe , Alvaro Herrera , PostgreSQL-development Subject: Re: pg_receivewal documentation Message-ID: <20190722014851.GC1757@paquier.xyz> References: <20190710142421.GA28387@alvherre.pgsql> <54779de5-f922-c0cf-629d-b582eded7265@redhat.com> <20190716050555.GA1439@paquier.xyz> <65c3ecdf-8995-34cb-83c4-50068877e632@redhat.com> <20190717013835.GA2130@paquier.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="AbQceqfdZEv+FvjW" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --AbQceqfdZEv+FvjW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 19, 2019 at 02:04:03PM -0400, Robert Haas wrote: > You could just say something like: >=20 > Since pg_receivewal does not apply WAL, you should not allow it to > become a synchronous standby when synchronous_commit =3D remote_apply. > If it does, it will appear to be a standby which never catches up, > which may cause commits to block. To avoid this, you should either > configure an appropriate value for synchronous_standby_names, or > specify an application_name for pg_receivewal that does not match it, > or change the value of synchronous_commit to something other than > remote_apply. >=20 > I think that'd be a lot more useful than enumerating the total-failure > scenarios. +1. Thanks for the suggestions! Your wording looks good to me. -- Michael --AbQceqfdZEv+FvjW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl01FgMACgkQnvQgOdby QH2n6g/+IibnTlvCSQ2HOOoxdskaKbQa3pqZ4aizUZZuxidcvQt/DVPNiYQLOKOe 7r5YgeS510ZRsBps0uVcJ0OwSbtbL9lhq9qpnMdall1TtFupS8IadKV7u1GF2dOv cMKJ/wYQyKmWiLcnJoXB480pNK/X1fxEnWImiV8jyP6dzeBpdLj3TUcti0QEE7SD yAHv0LehGbBgv5y0bkbawv1Oc4HRVEibLWfFP970Mozged/P9BnSieBxQwrY2bo1 hA/JnhFEpPL1uCqroqprnnWjcliSl+T36kDp+jaLSRmZxu9tiOC8aGtTJv4pd1v/ 0yI/GA7uGbEX2oac+GUNydfdZqmg35ldr7sCmUWlrBBrbAEF7Vki1xo3llYFa5LY rCYIMbUghm67/a0L6cxKGDCtPFuUR4/uPf56aNlFmPJIvLKrsJ5ZwH5Wu/18bR1n wnp8sjuKBqRmN7bVj/MfxuXfvNyTobOYEYvV5KzmhvFNKaDN62W/jFKsDPXAAJVj 3GtlFUjUEzpXGjYM+zN819bY90/R/1pzPUviQR0xu3MqdRqQXKkoTDoRWuLlwxOD tJIctwEGkVGTl4jOWBx5Ec9hzwifP9z4S4NjJ6tdagbv4zx/xBaB/10xY13rK/t7 e4nnJowmZP2cHi/BnW/SDVtXUANif4iWGoot9ZBH07fA3SNZb7g= =MEqA -----END PGP SIGNATURE----- --AbQceqfdZEv+FvjW--