Remove useless param for create_groupingsets_path

From: XueJing Zhao <zxuejing(at)vmware(dot)com>
To: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Remove useless param for create_groupingsets_path
Date: 2022-06-15 03:33:04
Message-ID: DM6PR05MB64923CC8B63A2CAF3B2E5D47B7AD9@DM6PR05MB6492.namprd05.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
diff.patch application/octet-stream 2.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro Horiguchi 2022-06-15 03:56:19 Re: Remove trailing newlines from pg_upgrade's messages
Previous Message shiy.fnst@fujitsu.com 2022-06-15 03:22:19 RE: Replica Identity check of partition table on subscriber