Fix function-header comments in planner.c
authorStephen Frost <sfrost@snowman.net>
Wed, 14 Mar 2018 17:51:15 +0000 (13:51 -0400)
committerStephen Frost <sfrost@snowman.net>
Wed, 14 Mar 2018 17:51:15 +0000 (13:51 -0400)
commit6b960aae90164cf85cf629e0af9286f97a9e51df
tree8d8f4c38e0a73077749722a9c0858cb1e2bb416c
parent1f7b8967ef192fad75f72dd5eb12b188647b3670
Fix function-header comments in planner.c

In b5635948ab1, a couple of function header comments weren't changed, or
weren't changed correctly, to reflect the arguments being passed into
the functions.  Specifically, get_number_of_groups() had the wrong
argument name in the commit and create_grouping_paths() wasn't
updated even though the arguments had been changed.

The issue with create_grouping_paths() was noticed by Ashutosh Bapat,
while I discovered the issue with get_number_of_groups() by looking to
see if there were any similar issues from that commit.

Discussion: https://postgr.es/m/CAFjFpRcbp4702jcp387PExt3fNCt62QJN8++DQGwBhsW6wRHWA@mail.gmail.com
src/backend/optimizer/plan/planner.c