1 /*-------------------------------------------------------------------------
4 * prototypes for plancat.c.
7 * Copyright (c) 1994, Regents of the University of California
9 * $Id: plancat.h,v 1.14 1999/11/21 23:25:42 tgl Exp $
11 *-------------------------------------------------------------------------
16 #include "nodes/parsenodes.h"
19 extern void relation_info(Query *root, Index relid,
20 bool *hasindex, int *pages, int *tuples);
22 extern List *find_secondary_indexes(Query *root, Index relid);
24 extern Cost restriction_selectivity(Oid functionObjectId,
27 AttrNumber attributeNumber,
31 extern void index_selectivity(Query *root, int relid, Oid indexid,
33 float *idxPages, float *idxSelec);
35 extern Cost join_selectivity(Oid functionObjectId, Oid operatorObjectId,
36 Oid relationObjectId1, AttrNumber attributeNumber1,
37 Oid relationObjectId2, AttrNumber attributeNumber2);
39 extern List *find_inheritance_children(Oid inhparent);
41 #endif /* PLANCAT_H */