Re: [PATCH] Add memory/disk usage for Function Scan nodes in EXPLAIN

From: Tatsuya Kawata <kawatatatsuya0913(at)gmail(dot)com>
To: David Rowley <dgrowleyml(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Add memory/disk usage for Function Scan nodes in EXPLAIN
Date: 2026-10-07 14:21:29
Message-ID: CAHza6qdK3z-wFZZUiNR6dg592xL5Cej3Ga0Ts87wqRmigvwB6Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi David,

Thank you for the comments and the patch!

> That doesn't seem great. On checking, I see Material has the same
> issue, but that's not been highlighted by the buildfarm members
> running debug_parallel_query = regress due to lack of EXPLAIN ANALYZE
> test that has a Material node. I've just posted a patch to fix that in
> [1]. Can you follow that code and resolve this issue in your patch?

Understood. I haven't looked at your patch in [1] closely yet, but
I'll go through it and update my patch so that Function Scan also
reports the statistics from parallel workers.
I'll post a new version once it's ready.

Regards,
Tatsuya Kawata

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message alvherre@kurilemu.de 2026-10-07 14:25:40 Re: Bug in logical decoding with DDL and subtransactions
Previous Message Matheus Alcantara 2026-10-07 14:04:31 Re: PG19: two RI fast-path issues found while testing the batching revert