diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-08-30 00:28:41 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-08-30 00:28:41 +0000 |
commit | e107f3a7e3feb7eaef8853ba117465f4f3f8ceed (patch) | |
tree | d28fb377b7d00f8171c208cc5ad9ceaec7a623ab /src/include/executor/executor.h | |
parent | 82ccb420d5c6f62cec1bf042cf0b6472fabdff42 (diff) |
PL/pgSQL functions can return sets. Neil Conway's patch, modified so
that the functionality is available to anyone via ReturnSetInfo, rather
than hard-wiring it to PL/pgSQL.
Diffstat (limited to 'src/include/executor/executor.h')
-rw-r--r-- | src/include/executor/executor.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index 88104565976..31a2b4a2399 100644 --- a/src/include/executor/executor.h +++ b/src/include/executor/executor.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: executor.h,v 1.74 2002/08/29 00:17:06 tgl Exp $ + * $Id: executor.h,v 1.75 2002/08/30 00:28:41 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -80,6 +80,9 @@ extern Datum ExecMakeFunctionResult(FunctionCachePtr fcache, ExprContext *econtext, bool *isNull, ExprDoneCond *isDone); +extern Tuplestorestate *ExecMakeTableFunctionResult(Expr *funcexpr, + ExprContext *econtext, + TupleDesc *returnDesc); extern Datum ExecEvalExpr(Node *expression, ExprContext *econtext, bool *isNull, ExprDoneCond *isDone); extern Datum ExecEvalExprSwitchContext(Node *expression, ExprContext *econtext, |