From 02f8c9a38297459c2664044ea6d98d91678a4d79 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 1 Dec 2002 20:27:32 +0000 Subject: Fix ExecMakeTableFunctionResult() to work with generic expressions as well as function calls. This is needed for cases where the planner has constant-folded or inlined the original function call. Possibly we should back-patch this change into 7.3 branch as well. --- src/include/executor/executor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index 312c56fa85c..33b83bce6fe 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.79 2002/11/30 05:21:03 tgl Exp $ + * $Id: executor.h,v 1.80 2002/12/01 20:27:32 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -81,7 +81,7 @@ extern Datum ExecMakeFunctionResult(FunctionCachePtr fcache, ExprContext *econtext, bool *isNull, ExprDoneCond *isDone); -extern Tuplestorestate *ExecMakeTableFunctionResult(Expr *funcexpr, +extern Tuplestorestate *ExecMakeTableFunctionResult(Node *funcexpr, ExprContext *econtext, TupleDesc expectedDesc, TupleDesc *returnDesc); -- cgit v1.2.3