diff options
Diffstat (limited to 'src/backend/executor/execMain.c')
-rw-r--r-- | src/backend/executor/execMain.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/backend/executor/execMain.c b/src/backend/executor/execMain.c index 352e368d99a..fa98950ac1f 100644 --- a/src/backend/executor/execMain.c +++ b/src/backend/executor/execMain.c @@ -26,7 +26,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.104 2000/01/05 18:23:46 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.105 2000/01/17 23:57:45 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -723,18 +723,13 @@ InitPlan(CmdType operation, Query *parseTree, Plan *plan, EState *estate) FreeTupleDesc(tupdesc); /* - * XXX rather than having to call setheapoverride(true) - * and then back to false, we should change the arguments - * to heap_open() instead.. - * - * XXX no, we should use commandCounterIncrement... + * Advance command counter so that the newly-created + * relation's catalog tuples will be visible to heap_open. */ - setheapoverride(true); + CommandCounterIncrement(); intoRelationDesc = heap_open(intoRelationId, AccessExclusiveLock); - - setheapoverride(false); } } } |