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

39 行
1.2KB

  1. /*-------------------------------------------------------------------------
  2. *
  3. * cluster.h
  4. * header file for postgres cluster command stuff
  5. *
  6. * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
  7. * Portions Copyright (c) 1994-5, Regents of the University of California
  8. *
  9. * src/include/commands/cluster.h
  10. *
  11. *-------------------------------------------------------------------------
  12. */
  13. #ifndef CLUSTER_H
  14. #define CLUSTER_H
  15. #include "nodes/parsenodes.h"
  16. #include "storage/lock.h"
  17. #include "utils/relcache.h"
  18. extern void cluster(ClusterStmt *stmt, bool isTopLevel);
  19. extern void cluster_rel(Oid tableOid, Oid indexOid, int options);
  20. extern void check_index_is_clusterable(Relation OldHeap, Oid indexOid,
  21. bool recheck, LOCKMODE lockmode);
  22. extern void mark_index_clustered(Relation rel, Oid indexOid, bool is_internal);
  23. extern Oid make_new_heap(Oid OIDOldHeap, Oid NewTableSpace, char relpersistence,
  24. LOCKMODE lockmode);
  25. extern void finish_heap_swap(Oid OIDOldHeap, Oid OIDNewHeap,
  26. bool is_system_catalog,
  27. bool swap_toast_by_content,
  28. bool check_constraints,
  29. bool is_internal,
  30. TransactionId frozenXid,
  31. MultiXactId minMulti,
  32. char newrelpersistence);
  33. #endif /* CLUSTER_H */
上海开阖软件有限公司 沪ICP备12045867号-1