Remove useless param for create_groupingsets_path

XueJing Zhao <zxuejing@vmware.com>

From: XueJing Zhao <zxuejing@vmware.com>
To: "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2022-06-15T03:33:04Z
Lists: pgsql-hackers

Attachments

Dear Postgres,

Recently I work on grouping sets and I find the last param numGroups of create_groupingsets_path is not used.
In create_groupingsets_path we use rollup->numGroups to do cost_agg. So I remove the param numGroups for
create_groupingsets_path.

I generate a diff.patch, which is sent as an attachment.
I really hope this can be committed to Postgres. Thank you a lot!

Best wishes to you!
zxuejing

Commits

  1. Remove no-longer-used parameter for create_groupingsets_path().