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

33 行
1009B

  1. /*-------------------------------------------------------------------------
  2. *
  3. * bufmask.h
  4. * Definitions for buffer masking routines, used to mask certain bits
  5. * in a page which can be different when the WAL is generated
  6. * and when the WAL is applied. This is really the job of each
  7. * individual rmgr, but we make things easier by providing some
  8. * common routines to handle cases which occur in multiple rmgrs.
  9. *
  10. * Portions Copyright (c) 2016-2019, PostgreSQL Global Development Group
  11. *
  12. * src/include/access/bufmask.h
  13. *
  14. *-------------------------------------------------------------------------
  15. */
  16. #ifndef BUFMASK_H
  17. #define BUFMASK_H
  18. #include "storage/block.h"
  19. #include "storage/bufmgr.h"
  20. /* Marker used to mask pages consistently */
  21. #define MASK_MARKER 0
  22. extern void mask_page_lsn_and_checksum(Page page);
  23. extern void mask_page_hint_bits(Page page);
  24. extern void mask_unused_space(Page page);
  25. extern void mask_lp_flags(Page page);
  26. extern void mask_page_content(Page page);
  27. #endif
上海开阖软件有限公司 沪ICP备12045867号-1