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 1lyKDH-0005hZ-0G for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Jun 2021 20:20:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lyKDG-0006q5-0c for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Jun 2021 20:20:06 +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 1lyKDF-0006px-K2 for pgsql-hackers@lists.postgresql.org; Tue, 29 Jun 2021 20:20:05 +0000 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lyKDD-0000kj-F3 for pgsql-hackers@postgresql.org; Tue, 29 Jun 2021 20:20:04 +0000 Received: by mail-pj1-x1034.google.com with SMTP id g24so286252pji.4 for ; Tue, 29 Jun 2021 13:20:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=+fC64SZ3wNENpQ0Gmw8UjWE1z41zM/kdG7alcQUhx1Y=; b=oKQu50tgEvQfb5LJf9TbKh9vFaN7Ohg94f6sxZ0hYqBdoTM+gp/2fLPAS7MSe1tOuS PF61lkZqqn+IWAVBbctE/O876zETONBWSOar7Zib4Icz9t4HcWBG5hLNsbYqCrKQFkDQ D0LtyDI6p3DsjecwZlBT5Ayj2mI75XVEwFvoPZmj0uKczF025TQjSPOg5y1esoEZbhXg bjBoLLPSqg1suwwipwCLOa/OWPoj8ZXrluo/N/H8aDYsccpSSTS+u6XfAYNfOtj5aTzd KKTNxmSAQA+s7yjnfyNBu0A1djiJ/N7keUeFt6JjxS8il4NcL79e9YeMPv68ghxJu0IR /uGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=+fC64SZ3wNENpQ0Gmw8UjWE1z41zM/kdG7alcQUhx1Y=; b=XRbfaS+x70jk6MbnA20pk+mY4eGMNyYzmGL9jzWK5qdIjPNZayk1rNEJPkDqrQ5/MV fuWIdX7KNQ8+5hbmRUSJXE1J3fN2H/I5e7lqFgH9HGOisyeJZUPd5p2kRLY6fW1Bf5yo 3kNTySDQt50uU9OQLVkmaDkQf9vXTkW065WkRjl/8gxu0dGhvQ+/ibghZyhzSRZKKRAa LNE1Q0saVsBV9sqj7jjm8CH48T1i33nuYBVzEdiy3kCeB5DfdbEuYUDX8KB5tWLZbnBp Z1wOYq5NzmSlcC8NXOsXXp3XWO/4Ez67/fl19Qur6mdFOzWak9gZw9If3j2n7lAmVILv TW9w== X-Gm-Message-State: AOAM532T9DLt0H9DJE3ZxeuJWlbPZKq3QvNTAPHvQxXn1s+cQvsacS+8 OhK8PLpWCBcAUhPejtCflnmzyw== X-Google-Smtp-Source: ABdhPJyOGSnAfM4TuIfYvC4ENtGSG6ttd784G6WGrkhqTI1xHvecXjmy8z9ibspYa2KblrcJAMVnfQ== X-Received: by 2002:a17:902:dac2:b029:125:d557:cf55 with SMTP id q2-20020a170902dac2b0290125d557cf55mr29115675plx.60.1624998002249; Tue, 29 Jun 2021 13:20:02 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([190.95.19.95]) by smtp.gmail.com with ESMTPSA id r10sm20062867pga.48.2021.06.29.13.20.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jun 2021 13:20:01 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 21A782A07E0; Tue, 29 Jun 2021 16:20:00 -0400 (-04) Date: Tue, 29 Jun 2021 16:20:00 -0400 From: Alvaro Herrera To: Ranier Vilela Cc: Pg Hackers , boris@codesynthesis.com Subject: Re: Pipeline mode and PQpipelineSync() Message-ID: <202106292020.tvinaxpagj3q@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 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 2021-Jun-29, Ranier Vilela wrote: > On 2021-Jun-29, Alvaro Herrera wrote: > > >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 ... > > I think that has an oversight with a719232 > > return false shouldn't be return 0? Hah, yeah, it should. Will fix -- Álvaro Herrera Valdivia, Chile