Re: pipelining in psql, commit 41625ab - Mailing list pgsql-hackers

From Jelte Fennema-Nio
Subject Re: pipelining in psql, commit 41625ab
Date
Msg-id CAGECzQS__HmHXWqkZ6eBDdSE4HF7tpDf44WDA959p69oPrAcXg@mail.gmail.com
Whole thread Raw
In response to pipelining in psql, commit 41625ab  (Noah Misch <noah@leadboat.com>)
List pgsql-hackers
On Tue, 15 Apr 2025 at 23:34, Noah Misch <noah@leadboat.com> wrote:
> That said, maybe having
> PQpipelineSync() was a mistake, since I think it's just PQsendPipelineSync() +
> PQflush().

Yes, IMO that's pretty much the case. But we cannot remove that
function because of backwards compatibility.

Note that for all the other commands (e.g \bind, \close, \parse) we
use the send variant of the libpq function too without including send
in the command. However, send means a different thing for those: If
you use the non-send one you get a PGresult back.



pgsql-hackers by date:

Previous
From: Jelte Fennema-Nio
Date:
Subject: Re: [PoC] Federated Authn/z with OAUTHBEARER
Next
From: Ilia Evdokimov
Date:
Subject: Re: Add estimated hit ratio to Memoize in EXPLAIN to explain cost adjustment