Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mamRP-0001QZ-7G for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Oct 2021 22:09:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mamRN-0002Ad-81 for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Oct 2021 22:09:37 +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 1mamRM-0002AU-VP for pgsql-hackers@lists.postgresql.org; Wed, 13 Oct 2021 22:09:36 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mamRK-00047L-4p for pgsql-hackers@lists.postgresql.org; Wed, 13 Oct 2021 22:09:36 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id EAF7C5C01DD; Wed, 13 Oct 2021 18:09:31 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 13 Oct 2021 18:09:31 -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:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=RNi4fVMLQgMQlstS779INt6woB44k6e6Rbz8O3v0wUQ=; b=i1XpbO4n cxjViZhkeWNsGde+IEBTxX/lqTTciWUSY70VpIa0OCvPTdUqWB+gnrh/6L1hkJpP FyD9rqE2zOdZzGalqMRaYkJicVR5f42/UHuQvHF4hnp1Lr1xMcl0dq0OeGW+kPyd Y+tAQb20H7PJdrcOcQKDJjoZHrA2Jdu1t1p4qdcld75zNgqqQXEEd13+o9Cvl9Ui pJZJW3DTFDgm079FuvtUki19YYLEnaeEtmJqdr06fqDCl3B3RFgI71sKN0HLozB/ FLQxX/AHNjZpCXqJ19Rx2qHPf1p3v2S7/9nyKRdHpBH5Xv0v5cnKJTvTfGObeLC2 /iA+8+WqW5UgfQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdduuddgtddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpeeuffdvtdffieetveetueetffdvleefvefgfeefteetjeei jefhieegkeeiueetjeenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmpd hhrghtvghsqdhsohhfthifrghrvgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprd horhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 13 Oct 2021 18:09:30 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 06B5C2A06EC; Wed, 13 Oct 2021 19:09:28 -0300 (-03) Date: Wed, 13 Oct 2021 19:09:28 -0300 From: Alvaro Herrera To: Andres Freund Cc: Tom Lane , Andrew Dunstan , "Bossart, Nathan" , Kyotaro Horiguchi , "masao.fujii@oss.nttdata.com" , "pgsql-hackers@lists.postgresql.org" , "mengjuan.cmj@alibaba-inc.com" , "Jakub.Wartak@tomtom.com" , Ryo Matsumura Subject: Re: prevent immature WAL streaming Message-ID: <202110132209.uyw4ubpc2ztc@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211013211517.4k222c5uvqjh67c2@alap3.anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Oct-13, Andres Freund wrote: > Hi, > > On 2021-10-13 17:46:53 -0300, Alvaro Herrera wrote: > > On 2021-Oct-13, Andres Freund wrote: > > > > > Something very roughly like the attached. Perhaps that's going a bit overboard > > > though. But it seems like it might be something we could use in a few tests? > > > > Hah, our emails crossed. If you want to turn this into a patch to the > > 026 test file, please go ahead. Failing that, I'd just push the patch I > > just sent in my other reply. > > Yea, let's go for your patch then. I've verified that at least locally it > passes under valgrind. Ah great, thanks. Pushed then. -- Álvaro Herrera Valdivia, Chile — https://www.EnterpriseDB.com/ "But static content is just dynamic content that isn't moving!" http://smylers.hates-software.com/2007/08/15/fe244d0c.html