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 1nZVhv-0001dV-Pc for pgsql-committers@arkaria.postgresql.org; Wed, 30 Mar 2022 10:37:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nZVht-0004qA-A1 for pgsql-committers@arkaria.postgresql.org; Wed, 30 Mar 2022 10:37:41 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZVhs-0004q0-5l for pgsql-committers@lists.postgresql.org; Wed, 30 Mar 2022 10:37:40 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZVhp-00076M-Ac for pgsql-committers@lists.postgresql.org; Wed, 30 Mar 2022 10:37:39 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 533A43200E5F; Wed, 30 Mar 2022 06:37:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 30 Mar 2022 06:37:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version: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=ga40J+l7EGfGCzl6OuHP5axREuehFny2wyJfcEcrOHo=; b=NF+kEAZY PDi7BJFNWRoYTfBxmmEwGW6On/qrfhdaahRVFaCX4atK0mnr/amSkVPjBmycM+Yp gUDVKi3RgTEn2QajBoeuP75AmgEoMJHVnHpaC9DGHSW/UU0lb1UhWpr4iMVz9hQE 9gOC1kqEfyxhpZ0vAfGPegJijVUmcJYAb6iF6IuJQuVciKwQLmoum8GwcBaegEby typ8Y0OaDCziBmrDtFguMa+M2E0N6G0slp9mu8QCPVAt93+W/CaumRVzfVSasybd SO7BeDqeU15xO//6dLfExY8J4Oc5Pv6ZF+XAKgpNTMsWlNEuLzfesi6U4HTV5khQ vv3cGCn/iabsuQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeivddgfeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpedujeevjeffjeevuddutedvkeeiueeitddvieelfeekveej udefgeeuvdejhfeuleenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhh vghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 30 Mar 2022 06:37:32 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 9BEFD2A09D6; Wed, 30 Mar 2022 07:37:55 -0300 (-03) Date: Wed, 30 Mar 2022 12:37:55 +0200 From: Alvaro Herrera To: Daniel Gustafsson Cc: Andres Freund , pgsql-committers@lists.postgresql.org, Michael Paquier Subject: Re: pgsql: Add function to pump IPC process until string match Message-ID: <202203301037.i2acyvyz6ema@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022-Mar-30, Daniel Gustafsson wrote: > Would adding back something like the (right now untested) below be what you're > after? Looking at the perldoc I didn't see any other debugging aids we can > emit other than the stream and type of error. I think you could also show the $until that wasn't found. The old .pl versions of this did that. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/