inherit.h 858 B

1234567891011121314151617181920212223242526272829
  1. /*-------------------------------------------------------------------------
  2. *
  3. * inherit.h
  4. * prototypes for inherit.c.
  5. *
  6. *
  7. * Portions Copyright (c) 1996-2022, 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. #include "nodes/pathnodes.h"
  17. extern void expand_inherited_rtentry(PlannerInfo *root, RelOptInfo *rel,
  18. RangeTblEntry *rte, Index rti);
  19. extern Bitmapset *get_rel_all_updated_cols(PlannerInfo *root, RelOptInfo *rel);
  20. extern bool apply_child_basequals(PlannerInfo *root, RelOptInfo *parentrel,
  21. RelOptInfo *childrel, RangeTblEntry *childRTE,
  22. AppendRelInfo *appinfo);
  23. #endif /* INHERIT_H */