ExecCreateTupleTable(ExecCountSlotsNode(node->plan) + 10);
pfree(sp_estate->es_refcount);
sp_estate->es_refcount = estate->es_refcount;
+ sp_estate->es_snapshot = estate->es_snapshot;
if (!ExecInitNode(node->plan, sp_estate, NULL))
return false;
* ExecInitTee
* ExecEndTee
*
- * $Id: nodeTee.c,v 1.27 1998/12/14 06:50:22 scrappy Exp $
+ * $Id: nodeTee.c,v 1.28 1999/02/01 13:33:27 vadim Exp $
*
*-------------------------------------------------------------------------
*/
estate->es_tupleTable = currentEstate->es_tupleTable;
estate->es_refcount = currentEstate->es_refcount;
estate->es_junkFilter = currentEstate->es_junkFilter;
+ estate->es_snapshot = currentEstate->es_snapshot;
/*
* use the range table for Tee subplan since the range tables for the