On Mon, Mar 16, 2026 at 06:42:44PM -0500, Sami Imseih wrote: > So attached is a new proposal with tests and docs. In terms of > test I fell back to the strategy used by Bertrand [0] with the
As far as I am reading the patch, it seems to me that this would accelerate the frequency of the stats flushes when we have a transaction with many short queries, but it does not help much in the case of an analytical single query because the flush of the stats would just happen once after the timeout set for each query? Let's imagine for example a query that takes hours to run, where we'd want to get fresh IO and WAL stats (backend included) on a periodic basis by processing interrupts while going through the executor. Thinking more about this problem, I'd really like to think that a client-side API would provide a more flexible interface for the analytical case. -- Michael
signature.asc
Description: PGP signature
