From 782c16c6a154e760bf1608d633488538cd52da93 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 24 Aug 2000 03:29:15 +0000 Subject: SQL-language functions are now callable in ordinary fmgr contexts ... for example, an SQL function can be used in a functional index. (I make no promises about speed, but it'll work ;-).) Clean up and simplify handling of functions returning sets. --- src/backend/executor/nodeGroup.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/backend/executor/nodeGroup.c') diff --git a/src/backend/executor/nodeGroup.c b/src/backend/executor/nodeGroup.c index 8a445b53d41..8fc319a77f0 100644 --- a/src/backend/executor/nodeGroup.c +++ b/src/backend/executor/nodeGroup.c @@ -15,7 +15,7 @@ * locate group boundaries. * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/executor/nodeGroup.c,v 1.37 2000/07/12 02:37:03 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/executor/nodeGroup.c,v 1.38 2000/08/24 03:29:03 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -73,7 +73,6 @@ ExecGroupEveryTuple(Group *node) TupleTableSlot *outerslot; ProjectionInfo *projInfo; TupleTableSlot *resultSlot; - bool isDone; /* --------------------- * get state info from node @@ -163,7 +162,7 @@ ExecGroupEveryTuple(Group *node) projInfo = grpstate->csstate.cstate.cs_ProjInfo; econtext->ecxt_scantuple = grpstate->csstate.css_ScanTupleSlot; - resultSlot = ExecProject(projInfo, &isDone); + resultSlot = ExecProject(projInfo, NULL); return resultSlot; } @@ -185,7 +184,6 @@ ExecGroupOneTuple(Group *node) TupleTableSlot *outerslot; ProjectionInfo *projInfo; TupleTableSlot *resultSlot; - bool isDone; /* --------------------- * get state info from node @@ -258,7 +256,7 @@ ExecGroupOneTuple(Group *node) grpstate->csstate.css_ScanTupleSlot, InvalidBuffer, false); econtext->ecxt_scantuple = grpstate->csstate.css_ScanTupleSlot; - resultSlot = ExecProject(projInfo, &isDone); + resultSlot = ExecProject(projInfo, NULL); /* save outerTuple if we are not done yet */ if (!grpstate->grp_done) -- cgit v1.2.3