1 /*-------------------------------------------------------------------------
4 * prototypes for plancat.c.
7 * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * $Id: plancat.h,v 1.17 2000/01/26 05:58:20 momjian Exp $
12 *-------------------------------------------------------------------------
17 #include "nodes/relation.h"
20 extern void relation_info(Query *root, Index relid,
21 bool *hasindex, long *pages, double *tuples);
23 extern List *find_secondary_indexes(Query *root, Index relid);
25 extern List *find_inheritance_children(Oid inhparent);
27 extern Selectivity restriction_selectivity(Oid functionObjectId,
30 AttrNumber attributeNumber,
34 extern Selectivity join_selectivity(Oid functionObjectId, Oid operatorObjectId,
35 Oid relationObjectId1, AttrNumber attributeNumber1,
36 Oid relationObjectId2, AttrNumber attributeNumber2);
38 #endif /* PLANCAT_H */