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 1nZKnD-0007kx-Pi for pgsql-committers@arkaria.postgresql.org; Tue, 29 Mar 2022 22:58:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nZKnB-0004m0-TP for pgsql-committers@arkaria.postgresql.org; Tue, 29 Mar 2022 22:58:25 +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 1nZKnB-0004la-MD for pgsql-committers@lists.postgresql.org; Tue, 29 Mar 2022 22:58:25 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZKn9-00030B-9O for pgsql-committers@lists.postgresql.org; Tue, 29 Mar 2022 22:58:24 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id E9B8E3201DE2; Tue, 29 Mar 2022 18:58:20 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 29 Mar 2022 18:58:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; bh=WdDBtlsoNigU6wq4RPJVaDF5QPkhQI2zJcPjG4 ps2SA=; b=p5nwQSIYeC6tFjaHCL2ILVSKGG9P58O4QrtuPy2LC3JjHvFgYCsh4P nfv/1bMOoKDxH6BnxDwcaLb6vqmzL9jq3hOfpAML/vnC/Mx72YI9JzNSisUL2aJg sRr6YtikCcjESmGiiZnsm3xgAvaesP2YzexcBGM6a8bhHk/aB6LSP8DjVuCxIuCP YwDAWDIhTsmZo/A6BZDWCW5VzZ3+kGRNs9s+3rDXFa6VBp9gqbaNSYsuWQmtLOaF 2wazHW/T8VcOWX6kPup8+6hIAbm1ivt/E48lKdd4nkm0tTbQbI8OKCIwQTjNcjGo h4F/YKM3Hy0N/E90gQvoA83KxC73bL/w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=WdDBtlsoNigU6wq4R PJVaDF5QPkhQI2zJcPjG4ps2SA=; b=XoRG8W9WRuwv9+xTvhN1hRuMVmzLtjXls iylOTLC6WGlnFo871Y8FygOp2rEJPZT1JMQn7WAQBUl+AccV0rZO0+JgNQ0xCmLi e3Pe0MAZMmK8v93iv8Uh9/QhRc9jEUSE1nysKMeYf/XC1NyY7rxHqJqHEHT4sErJ y/6WCxeIIWEODNhLWXqxpEO5HCdwM8Qp00kmW2dzZBXvaIi3fL4xSTtnxq7eSgDs +42ROtXE1pHfOuYaCxlLFA5gcSvLSUE5d5rh/L5LdW9r+uwBcMsu8zwQWlUOy4Z/ 7ohHkUXiLoImfrVF/p5EtwB1wzkH82ELXYkR2aQqWk7J/k1jLWTlg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeiuddgudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgurhgv shcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtffrrg htthgvrhhnpedukefhkeelueegveetheelffffjeegleeuudelfeefuedtleffueejfffh ueffudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grnhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 29 Mar 2022 18:58:20 -0400 (EDT) Date: Tue, 29 Mar 2022 15:58:19 -0700 From: Andres Freund To: Daniel Gustafsson Cc: pgsql-committers@lists.postgresql.org, Michael Paquier Subject: Re: pgsql: Add function to pump IPC process until string match Message-ID: <20220329225819.ahk5u2tax3ez6d2t@alap3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2022-02-23 13:32:03 +0000, Daniel Gustafsson wrote: > Add function to pump IPC process until string match > > Refactor the recovery tests to not carry a local duplicated copy of > the pump_until function which pumps a process until a defined string > is seen on a stream. This reduces duplication, and is in preparation > for another patch which will also use this functionality. I'm a bit disappointed by the moved function not having the diagnostic output that at least the version in 013_crash_restart.pl had. How is one supposed to figure out what caused a timeout with the new central version? Given that timeouts are the only way tests using pump_until() fail, that's not great. Greetings, Andres Freund