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/include/executor/executor.h | |
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/include/executor/executor.h')
-rw-r--r-- | src/include/executor/executor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index 050894708c8..39e07da8afb 100644 --- a/src/include/executor/executor.h +++ b/src/include/executor/executor.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/executor/executor.h,v 1.105 2004/01/14 23:01:55 tgl Exp $ + * $PostgreSQL: pgsql/src/include/executor/executor.h,v 1.106 2004/01/22 02:23:21 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -93,6 +93,7 @@ extern void ExecutorEnd(QueryDesc *queryDesc); extern void ExecutorRewind(QueryDesc *queryDesc); extern void ExecCheckRTPerms(List *rangeTable); extern void ExecEndPlan(PlanState *planstate, EState *estate); +extern bool ExecContextForcesOids(PlanState *planstate, bool *hasoids); extern void ExecConstraints(ResultRelInfo *resultRelInfo, TupleTableSlot *slot, EState *estate); extern TupleTableSlot *EvalPlanQual(EState *estate, Index rti, |