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 1m0dxM-0004V6-AN for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Jul 2021 05:49: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 1m0dwp-0006WJ-Hu for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Jul 2021 05:48:43 +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 1m0dwp-0006WB-0f for pgsql-hackers@lists.postgresql.org; Tue, 06 Jul 2021 05:48:43 +0000 Received: from codesynthesis.com ([188.40.148.39]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m0dwm-0004ip-75 for pgsql-hackers@lists.postgresql.org; Tue, 06 Jul 2021 05:48:42 +0000 Received: from brak.codesynthesis.com (unknown [105.187.34.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by codesynthesis.com (Postfix) with ESMTPSA id 2BF2F5F3EF; Tue, 6 Jul 2021 05:48:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codesynthesis.com; s=mail1; t=1625550516; bh=y4yLHRQ3xM9/gXtNXqWY+SSR+Wh+12T0JC9NzPkxlwU=; h=Date:From:To:Subject:Message-ID:MIME-Version:From; b=s6FgY86c2E2oqb67HhewNp2J7GmFr908c40wC8k1Nm/GDn7Cw5KbdNTLWK9jLcH8X 41yrXiB2OYOMtNR8rhncmHVsmoLjSMl/MS9Vf77OvolebfuZ5DtCBHLwvqgDodV94o eCBh3w+bS7yB4PtZzQLZAjOrjmXtC9BB3Z0Kk3nrug4ywfVDZdJ/SAinpjoWVWYomL tmkMT4UFKZCUd/OrHXVtjiCnNHF4bfzUSH1IHXGN1aKbeETzmQOI1p7gOsxF/i2QBB 5Obxme5b7EjXGTJAxagVfXLEymkfeSOSuzUgPa0NAlvoGvvR3/AC2tn+HYmfLUIB16 G16xX0gieXZ4g== Received: by brak.codesynthesis.com (Postfix, from userid 1000) id 59C0E1A802C0; Tue, 6 Jul 2021 07:48:31 +0200 (SAST) Date: Tue, 6 Jul 2021 07:48:31 +0200 From: Boris Kolpackov To: Alvaro Herrera Cc: pgsql-hackers@lists.postgresql.org Subject: Re: Pipeline mode and PQpipelineSync() Message-ID: References: <202106291503.pvs26qmxojls@alvherre.pgsql> <202106291650.6jeugagfda7m@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202106291650.6jeugagfda7m@alvherre.pgsql> Organization: Code Synthesis User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera writes: > Ah, yes it does. I can reproduce this now. I thought PQconsumeInput > was sufficient, but it's not: you have to have the PQgetResult in there > too. Looking ... Any progress on fixing this?