mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03:00
First pass at set-returning-functions in FROM, by Joe Conway with
some kibitzing from Tom Lane. Not everything works yet, and there's no documentation or regression test, but let's commit this so Joe doesn't need to cope with tracking changes in so many files ...
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: execAmi.c,v 1.62 2002/03/02 21:39:24 momjian Exp $
|
||||
* $Id: execAmi.c,v 1.63 2002/05/12 20:10:02 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -35,6 +35,7 @@
|
||||
#include "executor/nodeSort.h"
|
||||
#include "executor/nodeSubplan.h"
|
||||
#include "executor/nodeSubqueryscan.h"
|
||||
#include "executor/nodeFunctionscan.h"
|
||||
#include "executor/nodeUnique.h"
|
||||
|
||||
|
||||
@ -100,6 +101,10 @@ ExecReScan(Plan *node, ExprContext *exprCtxt, Plan *parent)
|
||||
ExecSubqueryReScan((SubqueryScan *) node, exprCtxt, parent);
|
||||
break;
|
||||
|
||||
case T_FunctionScan:
|
||||
ExecFunctionReScan((FunctionScan *) node, exprCtxt, parent);
|
||||
break;
|
||||
|
||||
case T_Material:
|
||||
ExecMaterialReScan((Material *) node, exprCtxt, parent);
|
||||
break;
|
||||
@ -187,6 +192,10 @@ ExecMarkPos(Plan *node)
|
||||
ExecIndexMarkPos((IndexScan *) node);
|
||||
break;
|
||||
|
||||
case T_FunctionScan:
|
||||
ExecFunctionMarkPos((FunctionScan *) node);
|
||||
break;
|
||||
|
||||
case T_Material:
|
||||
ExecMaterialMarkPos((Material *) node);
|
||||
break;
|
||||
@ -229,6 +238,10 @@ ExecRestrPos(Plan *node)
|
||||
ExecIndexRestrPos((IndexScan *) node);
|
||||
break;
|
||||
|
||||
case T_FunctionScan:
|
||||
ExecFunctionRestrPos((FunctionScan *) node);
|
||||
break;
|
||||
|
||||
case T_Material:
|
||||
ExecMaterialRestrPos((Material *) node);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user