1/*-------------------------------------------------------------------------
2 *
3 * inherit.h
4 * prototypes for inherit.c.
5 *
6 *
7 * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
9 *
10 * src/include/optimizer/inherit.h
11 *
12 *-------------------------------------------------------------------------
13 */
14#ifndef INHERIT_H
15#define INHERIT_H
16
17#include "nodes/pathnodes.h"
18
19
20extern void expand_inherited_rtentry(PlannerInfo *root, RelOptInfo *rel,
21 RangeTblEntry *rte, Index rti);
22
23extern bool apply_child_basequals(PlannerInfo *root, RelOptInfo *parentrel,
24 RelOptInfo *childrel, RangeTblEntry *childRTE,
25 AppendRelInfo *appinfo);
26
27#endif /* INHERIT_H */
28