Consistently use "superuser" instead of "super user"
[pgsql.git] / src / include / access / bufmask.h
blobadd6c9a39cf6c675b7cf3ed219246190280a06e0
1 /*-------------------------------------------------------------------------
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.
10 * Portions Copyright (c) 2016-2021, PostgreSQL Global Development Group
12 * src/include/access/bufmask.h
14 *-------------------------------------------------------------------------
17 #ifndef BUFMASK_H
18 #define BUFMASK_H
20 #include "storage/block.h"
21 #include "storage/bufmgr.h"
23 /* Marker used to mask pages consistently */
24 #define MASK_MARKER 0
26 extern void mask_page_lsn_and_checksum(Page page);
27 extern void mask_page_hint_bits(Page page);
28 extern void mask_unused_space(Page page);
29 extern void mask_lp_flags(Page page);
30 extern void mask_page_content(Page page);
32 #endif