*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/executor/spi.c,v 1.81 2002/12/15 21:01:34 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/executor/spi.c,v 1.82 2002/12/17 15:51:59 tgl Exp $
*
*-------------------------------------------------------------------------
*/
if (res < 0)
return res;
- /* copy plan to current (executor) context */
- plan = (void *) _SPI_copy_plan(plan, _SPI_CPLAN_CURCXT);
-
res = _SPI_execute_plan((_SPI_plan *) plan, Values, Nulls, tcount);
_SPI_end_call(true);
parentcxt = _SPI_current->procCxt;
else if (location == _SPI_CPLAN_TOPCXT)
parentcxt = TopMemoryContext;
- else
+ else /* (this case not currently used) */
parentcxt = CurrentMemoryContext;
/*