On Thu, Oct 15, 2026 at 9:55 AM Robert Haas <[email protected]> wrote:
> On Wed, Oct 14, 2026 at 12:22 PM Corey Huinker <[email protected]> > wrote: > > My interest in the DEBUG messages was giving a curious user an answer to > the question "If I'm not getting the batch_size I asked for, what > batch_size am I actually getting?", but that should infer-able from logs > looking for "FETCH <number> FROM cursor_name", albeit with some additional > effort to line up which FETCH commands correspond to which FDW queries, and > cross referencing that against the fetch_size that they've set, so it may > be that a curious user already has the instrumentation they need. > > Unless I'm confused, that's fetch_size, and this patch is about > batch_size. So, you're doing a bulk-insert to a foreign table, and the > question is about how many separate INSERT statements we're going to > have to issue in order to handle all the rows. > Yes, sorry for the confusion.
