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 1lMAnw-0001Qy-8k for pgsql-committers@arkaria.postgresql.org; Tue, 16 Mar 2021 14:36:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lMAnv-0000Vh-4d for pgsql-committers@arkaria.postgresql.org; Tue, 16 Mar 2021 14:36:15 +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 1lMAnu-0000Va-1V for pgsql-committers@lists.postgresql.org; Tue, 16 Mar 2021 14:36:14 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMAnr-0002Fc-IP for pgsql-committers@lists.postgresql.org; Tue, 16 Mar 2021 14:36:13 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 61A525C0090; Tue, 16 Mar 2021 10:36:10 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 16 Mar 2021 10:36:10 -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= fm2; bh=ELlyAgePodjNzJ9j9YhOAWouwxg0G+ZRU9AsuMhW3Ng=; b=camc7Wdm EqdvhyOn98N1FEIfUZE680aqGhSTJn6TtHUyvn43fmPkLTJ8R5jmaU0fMV7S+dZX oKPEdulsPJz0TTp5dsS+ETMDonl0rDCp4zeMk0vu4u3DYZWaotcC+iSGvwVdngZU UtwAMztOpGgAdY3prExnNuytOveUdYiEFLssMhqSsT3nAQvdK7JRp+UVEWbPOAMh iTw8Gbr434UH/NLyfPUQg0lt2URcOCfPxiaSXPI2lmtVlQxPFu1G+bsDxCvEUjoE X/UTvP94vh11GwVksoCeitLloTFUBR67PcsDqSrxGlTaPFw3N4O16WyjbhGxB9k/ n+FYvgQCavV4WQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudefvddgieejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugfgjggfsehtke ertddtredunecuhfhrohhmpeetlhhvrghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhr vgesrghlvhhhrdhnohdqihhprdhorhhgqeenucggtffrrghtthgvrhhnpeeufffhjeeiue euffegvddukeegledtveeivdeiueefieeivefgteehueefteehvdenucfkphepudeltddr leehrdduledrleehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: from perhan.alvh.no-ip.org (unknown [190.95.19.95]) by mail.messagingengine.com (Postfix) with ESMTPA id 72DB9108005C; Tue, 16 Mar 2021 10:36:09 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 2DCFD2A0BA7; Tue, 16 Mar 2021 11:36:06 -0300 (-03) Date: Tue, 16 Mar 2021 11:36:06 -0300 From: Alvaro Herrera To: Tom Lane Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Implement pipeline mode in libpq Message-ID: <20210316143606.GA10815@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3144460.1615860259@sss.pgh.pa.us> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Mar-15, Tom Lane wrote: > Alvaro Herrera writes: > > Implement pipeline mode in libpq > > So jacana and fairywren are unhappy about this, and the failure reports > are totally uninformative: Yeah. This is the main clue: > Mar 15 21:14:41 # Looks like you planned 8 tests but ran 15. > Mar 15 21:14:41 # Looks like you failed 7 tests of 15 run. We called the program seven additional times with empty string, so the split is emitting extra results that are empty strings. > I suspect that the "tests" output is including \r\n newlines > and the "split" operation is not handling that right. That seems the right guess. We already use split(/\s+/) in other scripts, particularly the Windows build ones, so that seems the correct fix. Pushed that fix. -- Álvaro Herrera Valdivia, Chile "I dream about dreams about dreams", sang the nightingale under the pale moon (Sandman)