summaryrefslogtreecommitdiff
path: root/src/backend/optimizer/plan/createplan.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-05-11 20:25:50 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-05-11 20:25:50 +0000
commit6f261461c1d0bb7ab4d4e2442cea313008c06f12 (patch)
tree7d6c3670257bc712a497f3c53fc81663de52bfe0 /src/backend/optimizer/plan/createplan.c
parent8f2e53bc1063f6c43d09356ecb6095be0cd907ea (diff)
Revert previous change --- turns out the underlying problem affects
more cases than I thought, so ExecTypeFromTL() will have to be fixed anyway.
Diffstat (limited to 'src/backend/optimizer/plan/createplan.c')
-rw-r--r--src/backend/optimizer/plan/createplan.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/backend/optimizer/plan/createplan.c b/src/backend/optimizer/plan/createplan.c
index 3445400988a..e9dd994cd21 100644
--- a/src/backend/optimizer/plan/createplan.c
+++ b/src/backend/optimizer/plan/createplan.c
@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.140 2003/05/11 15:03:52 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.141 2003/05/11 20:25:50 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -296,12 +296,6 @@ use_physical_tlist(RelOptInfo *rel)
if (rel->reloptkind != RELOPT_BASEREL)
return false;
/*
- * Can't do it if relation contains dropped columns. This is detected
- * in plancat.c, see notes there.
- */
- if (rel->varlist == NIL)
- return false;
- /*
* Can't do it if any system columns are requested, either. (This could
* possibly be fixed but would take some fragile assumptions in setrefs.c,
* I think.)