gooderp18绿色标准版
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

36 行
1.3KB

  1. /*-------------------------------------------------------------------------
  2. *
  3. * appendinfo.h
  4. * Routines for mapping expressions between append rel parent(s) and
  5. * children
  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/appendinfo.h
  11. *
  12. *-------------------------------------------------------------------------
  13. */
  14. #ifndef APPENDINFO_H
  15. #define APPENDINFO_H
  16. #include "nodes/pathnodes.h"
  17. #include "utils/relcache.h"
  18. extern AppendRelInfo *make_append_rel_info(Relation parentrel,
  19. Relation childrel,
  20. Index parentRTindex, Index childRTindex);
  21. extern Node *adjust_appendrel_attrs(PlannerInfo *root, Node *node,
  22. int nappinfos, AppendRelInfo **appinfos);
  23. extern Node *adjust_appendrel_attrs_multilevel(PlannerInfo *root, Node *node,
  24. Relids child_relids,
  25. Relids top_parent_relids);
  26. extern Relids adjust_child_relids(Relids relids, int nappinfos,
  27. AppendRelInfo **appinfos);
  28. extern Relids adjust_child_relids_multilevel(PlannerInfo *root, Relids relids,
  29. Relids child_relids, Relids top_parent_relids);
  30. extern AppendRelInfo **find_appinfos_by_relids(PlannerInfo *root,
  31. Relids relids, int *nappinfos);
  32. #endif /* APPENDINFO_H */
上海开阖软件有限公司 沪ICP备12045867号-1