1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-27 23:21:58 +03:00

setheapoverride() is history. Uses replaced with CommandCounterIncrement()

where necessary --- several of them didn't really need it, though.
tqual-checking macros simplified accordingly.
This commit is contained in:
Tom Lane
2000-01-17 23:57:48 +00:00
parent fb0627d972
commit 9e0b463473
13 changed files with 59 additions and 130 deletions

View File

@ -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);
}
}
}