diff options
Diffstat (limited to 'src/backend/commands')
-rw-r--r-- | src/backend/commands/_deadcode/recipe.c | 9 | ||||
-rw-r--r-- | src/backend/commands/comment.c | 2 |
2 files changed, 4 insertions, 7 deletions
diff --git a/src/backend/commands/_deadcode/recipe.c b/src/backend/commands/_deadcode/recipe.c index dc0928fe97b..9a5eda6906f 100644 --- a/src/backend/commands/_deadcode/recipe.c +++ b/src/backend/commands/_deadcode/recipe.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/_deadcode/Attic/recipe.c,v 1.8 2000/01/10 17:14:33 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/_deadcode/Attic/recipe.c,v 1.9 2000/01/17 23:57:44 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -211,9 +211,10 @@ beginRecipe(RecipeStmt *stmt) /* * before we plan, we want to see all the changes we did, during * the rewrite phase, such as creating the tee tables, - * setheapoverride() allows us to see the changes + * CommandCounterIncrement() allows us to see the changes */ - setheapoverride(true); + CommandCounterIncrement(); + plan = planner(parsetree); /* ---------------------------------------------------------- @@ -265,8 +266,6 @@ beginRecipe(RecipeStmt *stmt) } /* if (teeInfo) */ - setheapoverride(false); - /* define a portal for this viewer input */ /* for now, eyes can only have one input */ snprintf(portalName, 1024, "%s%d", e->nodeName, 0); diff --git a/src/backend/commands/comment.c b/src/backend/commands/comment.c index 93feb9e8054..9ebf207199c 100644 --- a/src/backend/commands/comment.c +++ b/src/backend/commands/comment.c @@ -165,9 +165,7 @@ void CreateComments(Oid oid, char *comment) { } else { desctuple = heap_modifytuple(searchtuple, description, values, nulls, replaces); - setheapoverride(true); heap_update(description, &searchtuple->t_self, desctuple, NULL); - setheapoverride(false); modified = TRUE; } |