mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +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:
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: cost.h,v 1.43 2001/11/05 17:46:34 momjian Exp $
|
||||
* $Id: cost.h,v 1.44 2002/05/12 20:10:05 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -59,6 +59,8 @@ extern void cost_index(Path *path, Query *root,
|
||||
List *indexQuals, bool is_injoin);
|
||||
extern void cost_tidscan(Path *path, Query *root,
|
||||
RelOptInfo *baserel, List *tideval);
|
||||
extern void cost_functionscan(Path *path, Query *root,
|
||||
RelOptInfo *baserel);
|
||||
extern void cost_sort(Path *path, Query *root,
|
||||
List *pathkeys, double tuples, int width);
|
||||
extern void cost_nestloop(Path *path, Query *root,
|
||||
@@ -80,6 +82,7 @@ extern void set_joinrel_size_estimates(Query *root, RelOptInfo *rel,
|
||||
RelOptInfo *inner_rel,
|
||||
JoinType jointype,
|
||||
List *restrictlist);
|
||||
extern void set_function_size_estimates(Query *root, RelOptInfo *rel);
|
||||
|
||||
/*
|
||||
* prototypes for clausesel.c
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: pathnode.h,v 1.42 2002/03/12 00:52:03 tgl Exp $
|
||||
* $Id: pathnode.h,v 1.43 2002/05/12 20:10:05 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -36,6 +36,7 @@ extern TidPath *create_tidscan_path(Query *root, RelOptInfo *rel,
|
||||
List *tideval);
|
||||
extern AppendPath *create_append_path(RelOptInfo *rel, List *subpaths);
|
||||
extern Path *create_subqueryscan_path(RelOptInfo *rel);
|
||||
extern Path *create_functionscan_path(Query *root, RelOptInfo *rel);
|
||||
|
||||
extern NestPath *create_nestloop_path(Query *root,
|
||||
RelOptInfo *joinrel,
|
||||
|
||||
Reference in New Issue
Block a user