2019-01-10 18:54:31 +01:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* inherit.h
|
|
|
|
* prototypes for inherit.c.
|
|
|
|
*
|
|
|
|
*
|
2022-01-08 01:04:57 +01:00
|
|
|
* Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
|
2019-01-10 18:54:31 +01:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
|
|
|
* src/include/optimizer/inherit.h
|
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef INHERIT_H
|
|
|
|
#define INHERIT_H
|
|
|
|
|
2019-01-29 22:49:25 +01:00
|
|
|
#include "nodes/pathnodes.h"
|
2019-01-10 18:54:31 +01:00
|
|
|
|
|
|
|
|
2019-03-30 23:58:55 +01:00
|
|
|
extern void expand_inherited_rtentry(PlannerInfo *root, RelOptInfo *rel,
|
|
|
|
RangeTblEntry *rte, Index rti);
|
|
|
|
|
2022-12-06 16:09:24 +01:00
|
|
|
extern Bitmapset *get_rel_all_updated_cols(PlannerInfo *root, RelOptInfo *rel);
|
|
|
|
|
2019-03-30 23:58:55 +01:00
|
|
|
extern bool apply_child_basequals(PlannerInfo *root, RelOptInfo *parentrel,
|
|
|
|
RelOptInfo *childrel, RangeTblEntry *childRTE,
|
|
|
|
AppendRelInfo *appinfo);
|
2019-01-10 18:54:31 +01:00
|
|
|
|
|
|
|
#endif /* INHERIT_H */
|