Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jIpUi-0000LA-1z for pgsql-hackers@arkaria.postgresql.org; Mon, 30 Mar 2020 08:10:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jIpUg-0005MK-Gn for pgsql-hackers@arkaria.postgresql.org; Mon, 30 Mar 2020 08:10:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jIpUg-0005MB-AC for pgsql-hackers@lists.postgresql.org; Mon, 30 Mar 2020 08:10:02 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jIpUZ-00036t-1K for pgsql-hackers@postgresql.org; Mon, 30 Mar 2020 08:10:01 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 8C3DC5C0809; Mon, 30 Mar 2020 04:09:52 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 30 Mar 2020 04:09:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=fm2; bh=iH1HOLPC1nZkLgnoCVWJSCQPwhJ4C9ExnlQxfgnCb Ag=; b=rZrG/e4tu9oCj4TyGGD1/mXnv/tPEZri9vlGRsFPYizF+O8ZnST2LcFkv +Bax4Kn3bQ308/9ugTnP8Hc5vCNaeqkGNvwl1c/IysfGB5zrACVMQS4oRXEdO9IV my6aUeOoQJtdQN77DwwPVIoFr3AlME0tHajfmSMOzfvn5eO1LVZg7DKzUmK79tTv OC/sEZoaLsZNdgkD7RXDSkFHy5eA5YSuMSttiqlXbcn8J0dZ8HXksqYJGrc6bZz7 mW8WQfsF2MUZr8jAZDAxAITM+taRqJKjHltrZD3v5R1gH1L9zVhTH+WFtTyXICWP QiH19hw3+x6Gr/aW87HpJy1XWQElA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudeihecutefuodetggdotefrodftvfcurf hrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefuvfhfhfhokffffgggjggtgfesthejredttdefjeenucfhrhhomheprfgvthgvrhcu gfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsedvnhguqhhurg gurhgrnhhtrdgtohhmqeenucffohhmrghinhepvdhnughquhgrughrrghnthdrtghomhen ucfkphepleefrddvgedvrddvudefrddvgedunecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgruhhtsedvnhgu qhhurggurhgrnhhtrdgtohhm X-ME-Proxy: Received: from april.pezone.net (p5df2d5f1.dip0.t-ipconnect.de [93.242.213.241]) by mail.messagingengine.com (Postfix) with ESMTPA id 56792306C95B; Mon, 30 Mar 2020 04:09:51 -0400 (EDT) Subject: Re: Improve handling of parameter differences in physical replication To: Sergei Kornilov , Masahiko Sawada References: <20200310.175755.1250389993502025042.horikyota.ntt@gmail.com> <20200311.110637.1319131984113864409.horikyota.ntt@gmail.com> <2134a29f-e934-4585-e81f-ab416e1923be@2ndquadrant.com> <2808491585335240@iva3-67f911cb3a01.qloud-c.yandex.net> Cc: Kyotaro Horiguchi , =?UTF-8?Q?=c3=81lvaro_Herrera?= , PostgreSQL-development From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Mon, 30 Mar 2020 10:09:48 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <2808491585335240@iva3-67f911cb3a01.qloud-c.yandex.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-03-27 20:15, Sergei Kornilov wrote: >> I think we can set wait event WAIT_EVENT_RECOVERY_PAUSE here. > > +1, since we added this in recoveryPausesHere. committed with that addition > PS: do we need to add a prototype for the RecoveryRequiredIntParameter function in top of xlog.c? There is no consistent style, I think, but I usually only add prototypes for static functions if they are required because of the ordering in the file. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services