From 7a3e30e608a25800a1f7fdfaaca4da3f0ac0fb07 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 12 Aug 2006 02:52:06 +0000 Subject: Add INSERT/UPDATE/DELETE RETURNING, with basic docs and regression tests. plpgsql support to come later. Along the way, convert execMain's SELECT INTO support into a DestReceiver, in order to eliminate some ugly special cases. Jonah Harris and Tom Lane --- src/include/executor/executor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include/executor/executor.h') diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index b2baec841b..d5b6213a35 100644 --- a/src/include/executor/executor.h +++ b/src/include/executor/executor.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/executor/executor.h,v 1.128 2006/08/04 21:33:36 tgl Exp $ + * $PostgreSQL: pgsql/src/include/executor/executor.h,v 1.129 2006/08/12 02:52:06 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -132,6 +132,7 @@ extern void ExecConstraints(ResultRelInfo *resultRelInfo, TupleTableSlot *slot, EState *estate); extern TupleTableSlot *EvalPlanQual(EState *estate, Index rti, ItemPointer tid, TransactionId priorXmax, CommandId curCid); +extern DestReceiver *CreateIntoRelDestReceiver(void); /* * prototypes from functions in execProcnode.c -- cgit v1.2.1