mirror of
https://github.com/postgres/postgres.git
synced 2025-10-28 11:55:03 +03:00
Rename Rel to RelOptInfo.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: pathnode.h,v 1.7 1998/02/26 04:42:16 momjian Exp $
|
||||
* $Id: pathnode.h,v 1.8 1998/07/18 04:22:51 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -21,25 +21,25 @@
|
||||
* prototypes for pathnode.c
|
||||
*/
|
||||
extern bool path_is_cheaper(Path *path1, Path *path2);
|
||||
extern Path *set_cheapest(Rel *parent_rel, List *pathlist);
|
||||
extern Path *set_cheapest(RelOptInfo *parent_rel, List *pathlist);
|
||||
extern List *
|
||||
add_pathlist(Rel *parent_rel, List *unique_paths,
|
||||
add_pathlist(RelOptInfo *parent_rel, List *unique_paths,
|
||||
List *new_paths);
|
||||
extern Path *create_seqscan_path(Rel *rel);
|
||||
extern Path *create_seqscan_path(RelOptInfo *rel);
|
||||
extern IndexPath *
|
||||
create_index_path(Query *root, Rel *rel, Rel *index,
|
||||
create_index_path(Query *root, RelOptInfo *rel, RelOptInfo *index,
|
||||
List *restriction_clauses, bool is_join_scan);
|
||||
extern JoinPath *
|
||||
create_nestloop_path(Rel *joinrel, Rel *outer_rel,
|
||||
create_nestloop_path(RelOptInfo *joinrel, RelOptInfo *outer_rel,
|
||||
Path *outer_path, Path *inner_path, List *keys);
|
||||
extern MergePath *
|
||||
create_mergesort_path(Rel *joinrel, int outersize,
|
||||
create_mergesort_path(RelOptInfo *joinrel, int outersize,
|
||||
int innersize, int outerwidth, int innerwidth, Path *outer_path,
|
||||
Path *inner_path, List *keys, MergeOrder *order,
|
||||
List *mergeclauses, List *outersortkeys, List *innersortkeys);
|
||||
|
||||
extern HashPath *
|
||||
create_hashjoin_path(Rel *joinrel, int outersize,
|
||||
create_hashjoin_path(RelOptInfo *joinrel, int outersize,
|
||||
int innersize, int outerwidth, int innerwidth, Path *outer_path,
|
||||
Path *inner_path, List *keys, Oid operator, List *hashclauses,
|
||||
List *outerkeys, List *innerkeys);
|
||||
@@ -47,13 +47,13 @@ create_hashjoin_path(Rel *joinrel, int outersize,
|
||||
/*
|
||||
* prototypes for rel.c
|
||||
*/
|
||||
extern Rel *rel_member(List *relid, List *rels);
|
||||
extern Rel *get_base_rel(Query *root, int relid);
|
||||
extern Rel *get_join_rel(Query *root, List *relid);
|
||||
extern RelOptInfo *rel_member(List *relid, List *rels);
|
||||
extern RelOptInfo *get_base_rel(Query *root, int relid);
|
||||
extern RelOptInfo *get_join_rel(Query *root, List *relid);
|
||||
|
||||
/*
|
||||
* prototypes for indexnode.h
|
||||
*/
|
||||
extern List *find_relation_indices(Query *root, Rel *rel);
|
||||
extern List *find_relation_indices(Query *root, RelOptInfo *rel);
|
||||
|
||||
#endif /* PATHNODE_H */
|
||||
|
||||
Reference in New Issue
Block a user