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