gooderp18绿色标准版
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

47 linhas
1.3KB

  1. /*-------------------------------------------------------------------------
  2. *
  3. * prep.h
  4. * prototypes for files in optimizer/prep/
  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/prep.h
  11. *
  12. *-------------------------------------------------------------------------
  13. */
  14. #ifndef PREP_H
  15. #define PREP_H
  16. #include "nodes/pathnodes.h"
  17. #include "nodes/plannodes.h"
  18. /*
  19. * prototypes for prepjointree.c
  20. */
  21. extern void replace_empty_jointree(Query *parse);
  22. extern void pull_up_sublinks(PlannerInfo *root);
  23. extern void inline_set_returning_functions(PlannerInfo *root);
  24. extern void pull_up_subqueries(PlannerInfo *root);
  25. extern void flatten_simple_union_all(PlannerInfo *root);
  26. extern void reduce_outer_joins(PlannerInfo *root);
  27. extern void remove_useless_result_rtes(PlannerInfo *root);
  28. extern Relids get_relids_in_jointree(Node *jtnode, bool include_joins);
  29. extern Relids get_relids_for_join(Query *query, int joinrelid);
  30. /*
  31. * prototypes for preptlist.c
  32. */
  33. extern List *preprocess_targetlist(PlannerInfo *root);
  34. extern PlanRowMark *get_plan_rowmark(List *rowmarks, Index rtindex);
  35. /*
  36. * prototypes for prepunion.c
  37. */
  38. extern RelOptInfo *plan_set_operations(PlannerInfo *root);
  39. #endif /* PREP_H */
上海开阖软件有限公司 沪ICP备12045867号-1