aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execMain.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-01-17 23:57:48 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-01-17 23:57:48 +0000
commit9e0b4634732d089237c5eaecb91ad4b1e943bc0f (patch)
tree0d859dec00da70831ab29720914d2f08b14d5183 /src/backend/executor/execMain.c
parentfb0627d97238aab8e4cfe373df9f654c38de7229 (diff)
downloadpostgresql-9e0b4634732d089237c5eaecb91ad4b1e943bc0f.tar.gz
postgresql-9e0b4634732d089237c5eaecb91ad4b1e943bc0f.zip
setheapoverride() is history. Uses replaced with CommandCounterIncrement()
where necessary --- several of them didn't really need it, though. tqual-checking macros simplified accordingly.
Diffstat (limited to 'src/backend/executor/execMain.c')
-rw-r--r--src/backend/executor/execMain.c13
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);
}
}
}