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:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user