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 1lyGwy-0008P8-2Y for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Jun 2021 16:51:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lyGww-0001NG-Qb for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Jun 2021 16:51:02 +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 1lyGww-0001N8-FP for pgsql-hackers@lists.postgresql.org; Tue, 29 Jun 2021 16:51:02 +0000 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lyGwu-0007Wj-G8 for pgsql-hackers@lists.postgresql.org; Tue, 29 Jun 2021 16:51:01 +0000 Received: by mail-pg1-x52f.google.com with SMTP id g22so772731pgl.7 for ; Tue, 29 Jun 2021 09:51:00 -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=XNF+4yi1qAY5bm5tvpSLFc4wLAKVa+8dMoX6s4cX7/8=; b=iGO2BtzKaQopFoI0Qa9qrjmirMjSIdIXV/rhfV8seRFImSFG8RLp4+gx8/pNuwjXyl LkQznsyYwFNoM18NOE1127WNBnT6NeSkm9CUUcUNgCemeKHRKpiQ98OYhdqSDbHi2Uy4 ptl7xtNzNZ9KveIIgJsr1qJ8AHUhmIcyc6ikzmf2WpPtH2qaLGD6MBKTKP9Ez4XVLjk+ SrDCSZN4y271p9d/uacAD99UvDQ/H+fPM3IY9EJhkTr78vNysR1xCpSoCuzE0KnQugKz 2Ka6aXeiGEqjJSM00LG/d/mvYXt0s6uUWlk66kfma3BP99F/jtjv/40J0+1fwt/zzX7X aoFA== 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=XNF+4yi1qAY5bm5tvpSLFc4wLAKVa+8dMoX6s4cX7/8=; b=gG3QOXoVuczOnzsbscv6B2iy1oq7KQaVQ4HtdMGK4RvYAsWM6xS01keI3BhqILyOr5 PGVb37JLBQb9pLVnuCe5Et8ULiUNyF5OErxArXy/3+lJrUqBpAWlZ1e2CQMzUetHAm98 DDMBUn+HpEnF1pmKRtIFAypRBgdJIVHU2uUmHi5lXvJYUDSu2eFf7CNld5z6f3nUqJ0M 8U5QIvLxU2O3QyG0rr6fLThfh2RmCGGqMFk1o7KTuLw1Evgl17/WJ0cDTWhgUycm6iQW NljpNQ0yUcDdihoDdtZA0Tl/jd7s2fByX4GylOL1YU7zm5CWeZlPziywPFvXTiJmyAp/ hRvg== X-Gm-Message-State: AOAM530l06ZJVhJR9GmwiqBJWcrha84DFIJNTa0SsVy6s44WKgC6W2PG 22iVIHXGy0LsoFWPqqZh2jg8RhxqGkyN9A== X-Google-Smtp-Source: ABdhPJzC6j9QDeDWXBRBikeVIXTDWkhGzg6/dDAiiqILzKzgAYvBDhs9BtYpTtpm/lpkF4o1kxzduA== X-Received: by 2002:a63:6dca:: with SMTP id i193mr28906612pgc.107.1624985459282; Tue, 29 Jun 2021 09:50:59 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([190.95.19.95]) by smtp.gmail.com with ESMTPSA id q7sm12562023pfk.192.2021.06.29.09.50.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jun 2021 09:50:58 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 9B02B2A07E0; Tue, 29 Jun 2021 12:50:56 -0400 (-04) Date: Tue, 29 Jun 2021 12:50:56 -0400 From: Alvaro Herrera To: Boris Kolpackov Cc: pgsql-hackers@lists.postgresql.org Subject: Re: Pipeline mode and PQpipelineSync() Message-ID: <202106291650.6jeugagfda7m@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202106291503.pvs26qmxojls@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Jun-29, Alvaro Herrera wrote: > (I do see that you're doing PQisBusy that I'm not. Going to try adding > it next.) 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 ... -- Álvaro Herrera 39°49'30"S 73°17'W