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

pgsql: Fix the recently-added code that eliminates unnecessary

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix the recently-added code that eliminates unnecessary
Date: 2005-11-03 17:34:03
Message-ID: 20051103173403.BD6B7D87D9@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Fix the recently-added code that eliminates unnecessary SubqueryScan nodes
from a finished plan tree.  We have to copy the output column names
(resname fields) from the SubqueryScan down to its child plan node;
else, if this is the topmost level of the plan, the wrong column names
will be delivered to the client.  Per bug #2017 reported by Jolly Chen.

Modified Files:
--------------
    pgsql/src/backend/optimizer/plan:
        setrefs.c (r1.115 -> r1.116)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/setrefs.c.diff?r1=1.115&r2=1.116)

pgsql-committers by date

Next:From: Tom LaneDate: 2005-11-03 17:45:30
Subject: pgsql: Thinking further, it seems we had better also copy down
Previous:From: Alvaro HerreraDate: 2005-11-03 17:26:04
Subject: Re: [COMMITTERS] pgsql: Rename the members of CommandDest enum so

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