Skip site navigation (1) Skip section navigation (2)

pgsql: Split out into a separate function the code in grouping_planner()

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Split out into a separate function the code in grouping_planner()
Date: 2005-04-10 19:50:08
Message-ID: 20050410195008.DB63E535AC@svr1.postgresql.org (view raw or flat)
Thread:
Lists: 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

Next:From: Tom LaneDate: 2005-04-10 20:57:33
Subject: pgsql: Make constant-folding produce sane output for
Previous:From: User KimhanseDate: 2005-04-10 18:22:51
Subject: tablelog - tablelog: Added table_log_init() function

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group