On Thu, 28 Nov 2024 at 07:43, Michael Paquier <mich...@paquier.xyz> wrote: > Hmm. The start, end and sync meta-commands are useful for testing. I > find the flush control a bit less interesting, TBH. > > What would you use these for?
I guess mostly for interactively playing around with pipelining from psql. But I think \getresult would be useful for testing too. This would allow us to test that we can read part of the pipeline, without sending a sync and waiting for everything. To be clear \flushrequest and \flush would be necessary to make \getresult work reliably.