pgsql: Split out into a separate function the code in grouping_planner() - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Split out into a separate function the code in grouping_planner()
Date
Msg-id 20050410195008.DB63E535AC@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Split out into a separate function the code in grouping_planner() that
decides whether to use hashed grouping instead of sort-plus-uniq
grouping. The function needs an annoyingly large number of parameters,
but this still seems like a win for legibility, since it removes over
a hundred lines from grouping_planner (which is still too big :-().

Modified Files:
--------------
    pgsql/src/backend/optimizer/plan:
        planner.c (r1.182 -> r1.183)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/planner.c.diff?r1=1.182&r2=1.183)

pgsql-committers by date:

Previous
From: decibel@pgfoundry.org (User Decibel)
Date:
Subject: newsysviews - newsysview: pg_*_casts
Next
From: decibel@pgfoundry.org (User Decibel)
Date:
Subject: newsysviews - newsysview: Update doc