pgsql: Fix build_grouping_chain() to not clobber its input lists. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix build_grouping_chain() to not clobber its input lists.
Date
Msg-id E1aJl7y-0007QN-Vb@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix build_grouping_chain() to not clobber its input lists.

There's no good reason for stomping on the input data; it makes the logic
in this function no simpler, in fact probably the reverse.  And it makes
it impossible to separate path generation from plan generation, as I'm
working towards doing; that will require more than one traversal of these
lists.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a923af382c5678f3dfb591aacb6b90bf4e5ed7a9

Modified Files
--------------
src/backend/optimizer/plan/planner.c |  116 ++++++++++++++++------------------
1 file changed, 54 insertions(+), 62 deletions(-)


pgsql-committers by date:

Previous
From: Magnus Hagander
Date:
Subject: pgsql: Properly close token in sspi authentication
Next
From: Robert Haas
Date:
Subject: pgsql: Fix spelling mistake.