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 1lvr7l-0008MW-Gw for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Jun 2021 00:52:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lvr7k-00074K-Ee for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Jun 2021 00:52:12 +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 1lvqql-0001aq-3b for pgsql-hackers@lists.postgresql.org; Wed, 23 Jun 2021 00:34:39 +0000 Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lvqqg-0001By-Rn for pgsql-hackers@lists.postgresql.org; Wed, 23 Jun 2021 00:34:38 +0000 Received: by mail-qk1-x72d.google.com with SMTP id bm25so1049905qkb.0 for ; Tue, 22 Jun 2021 17:34:34 -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=05KSt4kE3YCZAdCN5KkIig0XgfediWdbfqf517Ti/C4=; b=M9MaNvMG4dKtMGiX/kN2PAcEomldbZgQuVLUmSMUJazymt/ojcv0bRSNCf6/2nsock PJP3tRd5alX3HQ+wX76Kjq3kJRmxg2WwLGdYBOtS2Q18g3V/H8eoJTJE3qpaCBM3usuX c/A+AI/5DIFAWDfzm/nwc9R+RCcMjYYRPlbY2aMbxJQ0Iaw6JWa4HVtshlgWFwo8eCXB w2T8Rphh0fM16IxHHnP5QH14tZXtsZSMWCqAJdH/ddZS82fTigYmPQl0QC9cuivgmgD+ +KBqkspVnSDeKNuQLyDX31J8MN/RSxDixmYtgmeGaoQ9zV/IshvmZgMbKssJeynjFIZ/ oU/A== 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=05KSt4kE3YCZAdCN5KkIig0XgfediWdbfqf517Ti/C4=; b=rzdW7MC8NmAcYPdptN9AsYxTDNLnl3O1rkw+gIwP5a6I5ZCtKUQW5D7nttRVowJlun +bOiDBT//paTw4DIw8qg0/sN2U0kZRio5CErVEEoPpMVnNJ6sJs3WDdHUdE6qrX2BdW3 29OwlmngWhXvhSUNTq/0z8qBBeC7/fBhG8vWVskP4gL5NXhLY1eZWNox/y/lJQ2kURT8 +bHRWnCsT90S2d6Q2Dl12gXklmM07H7msPDoU02YbIjvUHpjYmk+nCHmSrBUhyDu90wR zXSO1TXpGWpOpDRQC/7n/GGx2ql1mclGKSG0Kh2DSVqO07c8m2NuGyxJYP5xMB+5smWT TDAg== X-Gm-Message-State: AOAM533Q9WR3Zyr0laTyUALC2GXQ+26miB9MFGrmCZIFLA/rbrDbgbRs n3ajO/aM+sD88fWppcBZJqF32N2/ro1+hg== X-Google-Smtp-Source: ABdhPJx28jFL095BKiu45Cp3JvNzUkcimrUMHvZhAst5pxb1JH4XMgZgRm1nqhkWMlxKc3NuIOF4YQ== X-Received: by 2002:a05:620a:e12:: with SMTP id y18mr7323828qkm.106.1624408474116; Tue, 22 Jun 2021 17:34:34 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([190.95.19.95]) by smtp.gmail.com with ESMTPSA id m126sm14230201qke.16.2021.06.22.17.34.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Jun 2021 17:34:33 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 1592D2A0A5E; Tue, 22 Jun 2021 20:34:32 -0400 (-04) Date: Tue, 22 Jun 2021 20:34:32 -0400 From: Alvaro Herrera To: Boris Kolpackov Cc: pgsql-hackers@lists.postgresql.org Subject: Re: Pipeline mode and PQpipelineSync() Message-ID: <202106230034.w5e33heifbud@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202106222214.ptjfmstb23mu@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Jun-22, Alvaro Herrera wrote: > > So I think it would be useful to clarify the server behavior and > > specify it in the documentation. > > I'll see about improving the docs on these points. So I started to modify the second paragraph to indicate that the client would send data on PQflush/buffer full/PQpipelineSync, only to realize that the first paragraph already explains this. So I'm not sure if any changes are needed. Maybe your complaint is only based on disagreement about what does libpq do regarding queueing commands; and as far as I can tell in quick experimentation with libpq, it works as the docs state already. -- Álvaro Herrera Valdivia, Chile