diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-01-22 02:23:21 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-01-22 02:23:21 +0000 |
commit | a376a4673ae9c331700f19f1bae999e3eadfaf10 (patch) | |
tree | b2600f41af8e95543b479eec09053a0c8301db7a /src/backend/executor/nodeAppend.c | |
parent | bb9f66351ab3fed583d93200dc68dd60f8615d30 (diff) | |
download | postgresql-a376a4673ae9c331700f19f1bae999e3eadfaf10.tar.gz postgresql-a376a4673ae9c331700f19f1bae999e3eadfaf10.zip |
Fix oversight in optimization that avoids an unnecessary projection step
when scanning a table that we need all the columns from. In case of
SELECT INTO, we have to check that the hasoids flag matches the desired
output type, too. Per report from Mike Mascari.
Diffstat (limited to 'src/backend/executor/nodeAppend.c')
-rw-r--r-- | src/backend/executor/nodeAppend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/nodeAppend.c b/src/backend/executor/nodeAppend.c index 32e2c3ea55d..c0d74c47784 100644 --- a/src/backend/executor/nodeAppend.c +++ b/src/backend/executor/nodeAppend.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/executor/nodeAppend.c,v 1.55 2003/11/29 19:51:48 pgsql Exp $ + * $PostgreSQL: pgsql/src/backend/executor/nodeAppend.c,v 1.56 2004/01/22 02:23:21 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -208,7 +208,7 @@ ExecInitAppend(Append *node, EState *estate) * call ExecInitNode on each of the plans to be executed and save the * results into the array "appendplans". Note we *must* set * estate->es_result_relation_info correctly while we initialize each - * sub-plan; ExecAssignResultTypeFromTL depends on that! + * sub-plan; ExecContextForcesOids depends on that! */ for (i = appendstate->as_firstplan; i <= appendstate->as_lastplan; i++) { |