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

pgsql: Fix create_unique_plan() so it doesn't generate useless entries

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix create_unique_plan() so it doesn't generate useless entries
Date: 2005-07-15 22:02:51
Message-ID: 20050715220251.D5A6952BFA@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Fix create_unique_plan() so it doesn't generate useless entries in the
output targetlist of the Unique or HashAgg plan.  This code was OK when
written, but subsequent changes to use "physical tlists" where possible
had broken it: given an input subplan that has extra variables added to
avoid a projection step, it would copy those extra variables into the
upper tlist, which is pointless since a projection has to happen anyway.

Modified Files:
--------------
    pgsql/src/backend/optimizer/plan:
        createplan.c (r1.193 -> r1.194)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/createplan.c.diff?r1=1.193&r2=1.194)

pgsql-committers by date

Next:From: Tom LaneDate: 2005-07-16 15:23:29
Subject: pgsql: Fix bogus "extern int errno;" in back branches, per Andrew
Previous:From: Bruce MomjianDate: 2005-07-15 19:02:12
Subject: pgsql: Fix SGML spacing.

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