1 /*-------------------------------------------------------------------------
4 * prototypes for plancat.c.
7 * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * $PostgreSQL: pgsql/src/include/optimizer/plancat.h,v 1.43 2007/01/05 22:19:56 momjian Exp $
12 *-------------------------------------------------------------------------
17 #include "nodes/relation.h"
20 extern void get_relation_info(PlannerInfo *root, Oid relationObjectId,
21 bool inhparent, RelOptInfo *rel);
23 extern bool relation_excluded_by_constraints(RelOptInfo *rel,
26 extern List *build_physical_tlist(PlannerInfo *root, RelOptInfo *rel);
28 extern List *find_inheritance_children(Oid inhparent);
30 extern bool has_subclass(Oid relationId);
32 extern bool has_unique_index(RelOptInfo *rel, AttrNumber attno);
34 extern Selectivity restriction_selectivity(PlannerInfo *root,
39 extern Selectivity join_selectivity(PlannerInfo *root,
44 #endif /* PLANCAT_H */