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.92) (envelope-from ) id 1jBEz3-0003af-Ux for pgsql-hackers@arkaria.postgresql.org; Mon, 09 Mar 2020 09:46:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jBEz2-0006uC-Lr for pgsql-hackers@arkaria.postgresql.org; Mon, 09 Mar 2020 09:46:00 +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 1jBEz2-0006tx-A1 for pgsql-hackers@lists.postgresql.org; Mon, 09 Mar 2020 09:46:00 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jBEz0-0008QQ-2K for pgsql-hackers@postgresql.org; Mon, 09 Mar 2020 09:45:59 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 692034C9; Mon, 9 Mar 2020 05:45:56 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 09 Mar 2020 05:45:56 -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=CWV+BunX8AntXamhfCdLeNo88w05TouFgo/AEkdxs Y0=; b=roHxLZqYAh544FKtmbifnGDMfbYdgT3vClBMIjxkTGh/iCl9Le8ppYJ9B PevMgaZTJQnmQueR4WVRoXmQKWiPKwVhvcnk+Ho5E1B4eMep/Ornnmu0xnhHuwz8 6TKZWYc6OLsXDich+HKHPk65XoUtXkLB+x3vSNAO0HSzrt8QVxv3HmEaPtcOLd9W sJ7FATYBCClGQlGmdaLbdOZRDbDKXmLHBdhrnwQNb6cOwwSNxQUcNax1FLf9NxQ5 IrsuYfDowsvJ+jm2+3rS8tQ/HW0O2Vh+rqEJbZ0lkhvxMvupq/xIkRAjglfKKJP2 XfANEoWfXZHl5nVTP6jRbm6q1YyOg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedruddukedgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhohfkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvdhnug hquhgrughrrghnthdrtghomheqnecuffhomhgrihhnpedvnhguqhhurggurhgrnhhtrdgt ohhmnecukfhppeelfedrvdegvddrvddufedrvdegudenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvihhsvghnthhrrghuthes vdhnughquhgrughrrghnthdrtghomh 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 2179E328005D; Mon, 9 Mar 2020 05:45:55 -0400 (EDT) Subject: Re: Improve handling of parameter differences in physical replication To: Masahiko Sawada , Alvaro Herrera References: <4ad69a4c-cc9b-0dfe-0352-8b1b0cd36c7b@2ndquadrant.com> <20200228153331.GA31634@alvherre.pgsql> Cc: pgsql-hackers From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Mon, 9 Mar 2020 10:45:54 +0100 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: 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-09 09:11, Masahiko Sawada wrote: > I think after recovery is paused users will be better to restart the > server rather than resume the recovery. I agree with this idea but I'm > slightly concerned that users might not realize that recovery is > paused until they look at that line in server log or at > pg_stat_replication because the standby server is still functional. So > I think we can periodically send WARNING to inform user that we're > still waiting for parameter change and restart. I think that would be annoying, unless you create a system for configuring those periodic warnings. I imagine in a case like having set max_prepared_transactions but never actually using prepared transactions, people will just ignore the warning until they have their next restart, so it could be months of periodic warnings. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services