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

40 行
1.4KB

  1. /*-------------------------------------------------------------------------
  2. *
  3. * ruleutils.h
  4. * Declarations for ruleutils.c
  5. *
  6. * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
  7. * Portions Copyright (c) 1994, Regents of the University of California
  8. *
  9. * src/include/utils/ruleutils.h
  10. *
  11. *-------------------------------------------------------------------------
  12. */
  13. #ifndef RULEUTILS_H
  14. #define RULEUTILS_H
  15. #include "nodes/nodes.h"
  16. #include "nodes/parsenodes.h"
  17. #include "nodes/pg_list.h"
  18. extern char *pg_get_indexdef_string(Oid indexrelid);
  19. extern char *pg_get_indexdef_columns(Oid indexrelid, bool pretty);
  20. extern char *pg_get_partkeydef_columns(Oid relid, bool pretty);
  21. extern char *pg_get_partconstrdef_string(Oid partitionId, char *aliasname);
  22. extern char *pg_get_constraintdef_command(Oid constraintId);
  23. extern char *deparse_expression(Node *expr, List *dpcontext,
  24. bool forceprefix, bool showimplicit);
  25. extern List *deparse_context_for(const char *aliasname, Oid relid);
  26. extern List *deparse_context_for_plan_rtable(List *rtable, List *rtable_names);
  27. extern List *set_deparse_context_planstate(List *dpcontext,
  28. Node *planstate, List *ancestors);
  29. extern List *select_rtable_names_for_explain(List *rtable,
  30. Bitmapset *rels_used);
  31. extern char *generate_collation_name(Oid collid);
  32. extern char *get_range_partbound_string(List *bound_datums);
  33. #endif /* RULEUTILS_H */
上海开阖软件有限公司 沪ICP备12045867号-1