pgsql: Back out prior patch and instead just suppress SubqueryScan

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Back out prior patch and instead just suppress SubqueryScan
Date: 2005-09-05 18:59:38
Message-ID: 20050905185938.5DF29D7B28@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Back out prior patch and instead just suppress SubqueryScan elimination
when there are extra resjunk columns in the child node. I found some
additional cases involving Append nodes that weren't handled by the
prior patch, and it's not clear how to fix them in the same way without
breaking inheritance cases. So the prudent path seems to be to narrow
the scope of the optimization.

Modified Files:
--------------
pgsql/src/backend/optimizer/plan:
setrefs.c (r1.113 -> r1.114)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/setrefs.c.diff?r1=1.113&r2=1.114)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-09-05 23:50:49 pgsql: Implement a preliminary 'template' facility for procedural
Previous Message Tom Lane 2005-09-05 18:06:06 Re: pgsql: Conditionally output the server version number in psql if it