PostgreSQL Source Code  git master
hash_xlog.h File Reference
#include "access/xlogreader.h"
#include "lib/stringinfo.h"
#include "storage/off.h"
Include dependency graph for hash_xlog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  xl_hash_insert
 
struct  xl_hash_add_ovfl_page
 
struct  xl_hash_split_allocate_page
 
struct  xl_hash_split_complete
 
struct  xl_hash_move_page_contents
 
struct  xl_hash_squeeze_page
 
struct  xl_hash_delete
 
struct  xl_hash_update_meta_page
 
struct  xl_hash_init_meta_page
 
struct  xl_hash_init_bitmap_page
 
struct  xl_hash_vacuum_one_page
 

Macros

#define HASH_XLOG_FREE_OVFL_BUFS   6
 
#define XLOG_HASH_INIT_META_PAGE   0x00 /* initialize the meta page */
 
#define XLOG_HASH_INIT_BITMAP_PAGE   0x10 /* initialize the bitmap page */
 
#define XLOG_HASH_INSERT   0x20 /* add index tuple without split */
 
#define XLOG_HASH_ADD_OVFL_PAGE   0x30 /* add overflow page */
 
#define XLOG_HASH_SPLIT_ALLOCATE_PAGE   0x40 /* allocate new page for split */
 
#define XLOG_HASH_SPLIT_PAGE   0x50 /* split page */
 
#define XLOG_HASH_SPLIT_COMPLETE   0x60 /* completion of split operation */
 
#define XLOG_HASH_MOVE_PAGE_CONTENTS
 
#define XLOG_HASH_SQUEEZE_PAGE
 
#define XLOG_HASH_DELETE   0x90 /* delete index tuples from a page */
 
#define XLOG_HASH_SPLIT_CLEANUP
 
#define XLOG_HASH_UPDATE_META_PAGE   0xB0 /* update meta page after vacuum */
 
#define XLOG_HASH_VACUUM_ONE_PAGE
 
#define XLH_SPLIT_META_UPDATE_MASKS   (1<<0)
 
#define XLH_SPLIT_META_UPDATE_SPLITPOINT   (1<<1)
 
#define SizeOfHashInsert   (offsetof(xl_hash_insert, offnum) + sizeof(OffsetNumber))
 
#define SizeOfHashAddOvflPage    (offsetof(xl_hash_add_ovfl_page, bmpage_found) + sizeof(bool))
 
#define SizeOfHashSplitAllocPage    (offsetof(xl_hash_split_allocate_page, flags) + sizeof(uint8))
 
#define SizeOfHashSplitComplete    (offsetof(xl_hash_split_complete, new_bucket_flag) + sizeof(uint16))
 
#define SizeOfHashMovePageContents    (offsetof(xl_hash_move_page_contents, is_prim_bucket_same_wrt) + sizeof(bool))
 
#define SizeOfHashSqueezePage    (offsetof(xl_hash_squeeze_page, is_prev_bucket_same_wrt) + sizeof(bool))
 
#define SizeOfHashDelete   (offsetof(xl_hash_delete, is_primary_bucket_page) + sizeof(bool))
 
#define SizeOfHashUpdateMetaPage    (offsetof(xl_hash_update_meta_page, ntuples) + sizeof(double))
 
#define SizeOfHashInitMetaPage    (offsetof(xl_hash_init_meta_page, ffactor) + sizeof(uint16))
 
#define SizeOfHashInitBitmapPage    (offsetof(xl_hash_init_bitmap_page, bmsize) + sizeof(uint16))
 
#define SizeOfHashVacuumOnePage    (offsetof(xl_hash_vacuum_one_page, ntuples) + sizeof(int))
 

Typedefs

typedef struct xl_hash_insert xl_hash_insert
 
typedef struct xl_hash_add_ovfl_page xl_hash_add_ovfl_page
 
typedef struct xl_hash_split_allocate_page xl_hash_split_allocate_page
 
typedef struct xl_hash_split_complete xl_hash_split_complete
 
typedef struct xl_hash_move_page_contents xl_hash_move_page_contents
 
typedef struct xl_hash_squeeze_page xl_hash_squeeze_page
 
typedef struct xl_hash_delete xl_hash_delete
 
typedef struct xl_hash_update_meta_page xl_hash_update_meta_page
 
typedef struct xl_hash_init_meta_page xl_hash_init_meta_page
 
typedef struct xl_hash_init_bitmap_page xl_hash_init_bitmap_page
 
typedef struct xl_hash_vacuum_one_page xl_hash_vacuum_one_page
 

Functions

void hash_redo (XLogReaderState *record)
 
void hash_desc (StringInfo buf, XLogReaderState *record)
 
const char * hash_identify (uint8 info)
 
void hash_mask (char *pagedata, BlockNumber blkno)
 

Macro Definition Documentation

◆ HASH_XLOG_FREE_OVFL_BUFS

#define HASH_XLOG_FREE_OVFL_BUFS   6

Definition at line 22 of file hash_xlog.h.

◆ SizeOfHashAddOvflPage

#define SizeOfHashAddOvflPage    (offsetof(xl_hash_add_ovfl_page, bmpage_found) + sizeof(bool))

Definition at line 80 of file hash_xlog.h.

◆ SizeOfHashDelete

#define SizeOfHashDelete   (offsetof(xl_hash_delete, is_primary_bucket_page) + sizeof(bool))

Definition at line 186 of file hash_xlog.h.

◆ SizeOfHashInitBitmapPage

#define SizeOfHashInitBitmapPage    (offsetof(xl_hash_init_bitmap_page, bmsize) + sizeof(uint16))

Definition at line 233 of file hash_xlog.h.

◆ SizeOfHashInitMetaPage

#define SizeOfHashInitMetaPage    (offsetof(xl_hash_init_meta_page, ffactor) + sizeof(uint16))

Definition at line 217 of file hash_xlog.h.

◆ SizeOfHashInsert

#define SizeOfHashInsert   (offsetof(xl_hash_insert, offnum) + sizeof(OffsetNumber))

Definition at line 61 of file hash_xlog.h.

◆ SizeOfHashMovePageContents

#define SizeOfHashMovePageContents    (offsetof(xl_hash_move_page_contents, is_prim_bucket_same_wrt) + sizeof(bool))

Definition at line 138 of file hash_xlog.h.

◆ SizeOfHashSplitAllocPage

#define SizeOfHashSplitAllocPage    (offsetof(xl_hash_split_allocate_page, flags) + sizeof(uint8))

Definition at line 100 of file hash_xlog.h.

◆ SizeOfHashSplitComplete

#define SizeOfHashSplitComplete    (offsetof(xl_hash_split_complete, new_bucket_flag) + sizeof(uint16))

Definition at line 117 of file hash_xlog.h.

◆ SizeOfHashSqueezePage

#define SizeOfHashSqueezePage    (offsetof(xl_hash_squeeze_page, is_prev_bucket_same_wrt) + sizeof(bool))

Definition at line 167 of file hash_xlog.h.

◆ SizeOfHashUpdateMetaPage

#define SizeOfHashUpdateMetaPage    (offsetof(xl_hash_update_meta_page, ntuples) + sizeof(double))

Definition at line 200 of file hash_xlog.h.

◆ SizeOfHashVacuumOnePage

#define SizeOfHashVacuumOnePage    (offsetof(xl_hash_vacuum_one_page, ntuples) + sizeof(int))

Definition at line 253 of file hash_xlog.h.

◆ XLH_SPLIT_META_UPDATE_MASKS

#define XLH_SPLIT_META_UPDATE_MASKS   (1<<0)

Definition at line 45 of file hash_xlog.h.

◆ XLH_SPLIT_META_UPDATE_SPLITPOINT

#define XLH_SPLIT_META_UPDATE_SPLITPOINT   (1<<1)

Definition at line 46 of file hash_xlog.h.

◆ XLOG_HASH_ADD_OVFL_PAGE

#define XLOG_HASH_ADD_OVFL_PAGE   0x30 /* add overflow page */

Definition at line 30 of file hash_xlog.h.

◆ XLOG_HASH_DELETE

#define XLOG_HASH_DELETE   0x90 /* delete index tuples from a page */

Definition at line 36 of file hash_xlog.h.

◆ XLOG_HASH_INIT_BITMAP_PAGE

#define XLOG_HASH_INIT_BITMAP_PAGE   0x10 /* initialize the bitmap page */

Definition at line 28 of file hash_xlog.h.

◆ XLOG_HASH_INIT_META_PAGE

#define XLOG_HASH_INIT_META_PAGE   0x00 /* initialize the meta page */

Definition at line 27 of file hash_xlog.h.

◆ XLOG_HASH_INSERT

#define XLOG_HASH_INSERT   0x20 /* add index tuple without split */

Definition at line 29 of file hash_xlog.h.

◆ XLOG_HASH_MOVE_PAGE_CONTENTS

#define XLOG_HASH_MOVE_PAGE_CONTENTS
Value:
0x70 /* remove tuples from one page
* and add to another page */

Definition at line 34 of file hash_xlog.h.

◆ XLOG_HASH_SPLIT_ALLOCATE_PAGE

#define XLOG_HASH_SPLIT_ALLOCATE_PAGE   0x40 /* allocate new page for split */

Definition at line 31 of file hash_xlog.h.

◆ XLOG_HASH_SPLIT_CLEANUP

#define XLOG_HASH_SPLIT_CLEANUP
Value:
0xA0 /* clear split-cleanup flag in primary
* bucket page after deleting tuples
* that are moved due to split */

Definition at line 37 of file hash_xlog.h.

◆ XLOG_HASH_SPLIT_COMPLETE

#define XLOG_HASH_SPLIT_COMPLETE   0x60 /* completion of split operation */

Definition at line 33 of file hash_xlog.h.

◆ XLOG_HASH_SPLIT_PAGE

#define XLOG_HASH_SPLIT_PAGE   0x50 /* split page */

Definition at line 32 of file hash_xlog.h.

◆ XLOG_HASH_SQUEEZE_PAGE

#define XLOG_HASH_SQUEEZE_PAGE
Value:
0x80 /* add tuples to one of the previous
* pages in chain and free the ovfl
* page */

Definition at line 35 of file hash_xlog.h.

◆ XLOG_HASH_UPDATE_META_PAGE

#define XLOG_HASH_UPDATE_META_PAGE   0xB0 /* update meta page after vacuum */

Definition at line 38 of file hash_xlog.h.

◆ XLOG_HASH_VACUUM_ONE_PAGE

#define XLOG_HASH_VACUUM_ONE_PAGE
Value:
0xC0 /* remove dead tuples from index
* page */

Definition at line 40 of file hash_xlog.h.

Typedef Documentation

◆ xl_hash_add_ovfl_page

◆ xl_hash_delete

◆ xl_hash_init_bitmap_page

◆ xl_hash_init_meta_page

◆ xl_hash_insert

◆ xl_hash_move_page_contents

◆ xl_hash_split_allocate_page

◆ xl_hash_split_complete

◆ xl_hash_squeeze_page

◆ xl_hash_update_meta_page

◆ xl_hash_vacuum_one_page

Function Documentation

◆ hash_desc()

void hash_desc ( StringInfo  buf,
XLogReaderState record 
)

Definition at line 20 of file hashdesc.c.

21 {
22  char *rec = XLogRecGetData(record);
23  uint8 info = XLogRecGetInfo(record) & ~XLR_INFO_MASK;
24 
25  switch (info)
26  {
28  {
30 
31  appendStringInfo(buf, "num_tuples %g, fillfactor %d",
32  xlrec->num_tuples, xlrec->ffactor);
33  break;
34  }
36  {
38 
39  appendStringInfo(buf, "bmsize %d", xlrec->bmsize);
40  break;
41  }
42  case XLOG_HASH_INSERT:
43  {
44  xl_hash_insert *xlrec = (xl_hash_insert *) rec;
45 
46  appendStringInfo(buf, "off %u", xlrec->offnum);
47  break;
48  }
50  {
52 
53  appendStringInfo(buf, "bmsize %d, bmpage_found %c",
54  xlrec->bmsize, (xlrec->bmpage_found) ? 'T' : 'F');
55  break;
56  }
58  {
60 
61  appendStringInfo(buf, "new_bucket %u, meta_page_masks_updated %c, issplitpoint_changed %c",
62  xlrec->new_bucket,
63  (xlrec->flags & XLH_SPLIT_META_UPDATE_MASKS) ? 'T' : 'F',
64  (xlrec->flags & XLH_SPLIT_META_UPDATE_SPLITPOINT) ? 'T' : 'F');
65  break;
66  }
68  {
70 
71  appendStringInfo(buf, "old_bucket_flag %u, new_bucket_flag %u",
72  xlrec->old_bucket_flag, xlrec->new_bucket_flag);
73  break;
74  }
76  {
78 
79  appendStringInfo(buf, "ntups %d, is_primary %c",
80  xlrec->ntups,
81  xlrec->is_prim_bucket_same_wrt ? 'T' : 'F');
82  break;
83  }
85  {
87 
88  appendStringInfo(buf, "prevblkno %u, nextblkno %u, ntups %d, is_primary %c",
89  xlrec->prevblkno,
90  xlrec->nextblkno,
91  xlrec->ntups,
92  xlrec->is_prim_bucket_same_wrt ? 'T' : 'F');
93  break;
94  }
95  case XLOG_HASH_DELETE:
96  {
97  xl_hash_delete *xlrec = (xl_hash_delete *) rec;
98 
99  appendStringInfo(buf, "clear_dead_marking %c, is_primary %c",
100  xlrec->clear_dead_marking ? 'T' : 'F',
101  xlrec->is_primary_bucket_page ? 'T' : 'F');
102  break;
103  }
105  {
107 
108  appendStringInfo(buf, "ntuples %g",
109  xlrec->ntuples);
110  break;
111  }
113  {
115 
116  appendStringInfo(buf, "ntuples %d, snapshotConflictHorizon %u",
117  xlrec->ntuples,
118  xlrec->snapshotConflictHorizon);
119  break;
120  }
121  }
122 }
unsigned char uint8
Definition: c.h:440
#define XLOG_HASH_INIT_BITMAP_PAGE
Definition: hash_xlog.h:28
#define XLOG_HASH_SQUEEZE_PAGE
Definition: hash_xlog.h:35
#define XLOG_HASH_ADD_OVFL_PAGE
Definition: hash_xlog.h:30
#define XLOG_HASH_UPDATE_META_PAGE
Definition: hash_xlog.h:38
#define XLOG_HASH_INSERT
Definition: hash_xlog.h:29
#define XLOG_HASH_SPLIT_ALLOCATE_PAGE
Definition: hash_xlog.h:31
#define XLOG_HASH_INIT_META_PAGE
Definition: hash_xlog.h:27
#define XLOG_HASH_DELETE
Definition: hash_xlog.h:36
#define XLOG_HASH_SPLIT_COMPLETE
Definition: hash_xlog.h:33
#define XLH_SPLIT_META_UPDATE_SPLITPOINT
Definition: hash_xlog.h:46
#define XLOG_HASH_MOVE_PAGE_CONTENTS
Definition: hash_xlog.h:34
#define XLOG_HASH_VACUUM_ONE_PAGE
Definition: hash_xlog.h:40
#define XLH_SPLIT_META_UPDATE_MASKS
Definition: hash_xlog.h:45
static char * buf
Definition: pg_test_fsync.c:67
void appendStringInfo(StringInfo str, const char *fmt,...)
Definition: stringinfo.c:91
bool clear_dead_marking
Definition: hash_xlog.h:180
bool is_primary_bucket_page
Definition: hash_xlog.h:182
OffsetNumber offnum
Definition: hash_xlog.h:58
BlockNumber prevblkno
Definition: hash_xlog.h:155
bool is_prim_bucket_same_wrt
Definition: hash_xlog.h:158
BlockNumber nextblkno
Definition: hash_xlog.h:156
TransactionId snapshotConflictHorizon
Definition: hash_xlog.h:247
#define XLogRecGetInfo(decoder)
Definition: xlogreader.h:411
#define XLogRecGetData(decoder)
Definition: xlogreader.h:416
#define XLR_INFO_MASK
Definition: xlogrecord.h:62

References appendStringInfo(), xl_hash_add_ovfl_page::bmpage_found, xl_hash_add_ovfl_page::bmsize, xl_hash_init_bitmap_page::bmsize, buf, xl_hash_delete::clear_dead_marking, xl_hash_init_meta_page::ffactor, xl_hash_split_allocate_page::flags, xl_hash_move_page_contents::is_prim_bucket_same_wrt, xl_hash_squeeze_page::is_prim_bucket_same_wrt, xl_hash_delete::is_primary_bucket_page, xl_hash_split_allocate_page::new_bucket, xl_hash_split_complete::new_bucket_flag, xl_hash_squeeze_page::nextblkno, xl_hash_update_meta_page::ntuples, xl_hash_vacuum_one_page::ntuples, xl_hash_move_page_contents::ntups, xl_hash_squeeze_page::ntups, xl_hash_init_meta_page::num_tuples, xl_hash_insert::offnum, xl_hash_split_complete::old_bucket_flag, xl_hash_squeeze_page::prevblkno, xl_hash_vacuum_one_page::snapshotConflictHorizon, XLH_SPLIT_META_UPDATE_MASKS, XLH_SPLIT_META_UPDATE_SPLITPOINT, XLOG_HASH_ADD_OVFL_PAGE, XLOG_HASH_DELETE, XLOG_HASH_INIT_BITMAP_PAGE, XLOG_HASH_INIT_META_PAGE, XLOG_HASH_INSERT, XLOG_HASH_MOVE_PAGE_CONTENTS, XLOG_HASH_SPLIT_ALLOCATE_PAGE, XLOG_HASH_SPLIT_COMPLETE, XLOG_HASH_SQUEEZE_PAGE, XLOG_HASH_UPDATE_META_PAGE, XLOG_HASH_VACUUM_ONE_PAGE, XLogRecGetData, XLogRecGetInfo, and XLR_INFO_MASK.

◆ hash_identify()

const char* hash_identify ( uint8  info)

Definition at line 125 of file hashdesc.c.

126 {
127  const char *id = NULL;
128 
129  switch (info & ~XLR_INFO_MASK)
130  {
132  id = "INIT_META_PAGE";
133  break;
135  id = "INIT_BITMAP_PAGE";
136  break;
137  case XLOG_HASH_INSERT:
138  id = "INSERT";
139  break;
141  id = "ADD_OVFL_PAGE";
142  break;
144  id = "SPLIT_ALLOCATE_PAGE";
145  break;
147  id = "SPLIT_PAGE";
148  break;
150  id = "SPLIT_COMPLETE";
151  break;
153  id = "MOVE_PAGE_CONTENTS";
154  break;
156  id = "SQUEEZE_PAGE";
157  break;
158  case XLOG_HASH_DELETE:
159  id = "DELETE";
160  break;
162  id = "SPLIT_CLEANUP";
163  break;
165  id = "UPDATE_META_PAGE";
166  break;
168  id = "VACUUM_ONE_PAGE";
169  }
170 
171  return id;
172 }
#define XLOG_HASH_SPLIT_CLEANUP
Definition: hash_xlog.h:37
#define XLOG_HASH_SPLIT_PAGE
Definition: hash_xlog.h:32

References XLOG_HASH_ADD_OVFL_PAGE, XLOG_HASH_DELETE, XLOG_HASH_INIT_BITMAP_PAGE, XLOG_HASH_INIT_META_PAGE, XLOG_HASH_INSERT, XLOG_HASH_MOVE_PAGE_CONTENTS, XLOG_HASH_SPLIT_ALLOCATE_PAGE, XLOG_HASH_SPLIT_CLEANUP, XLOG_HASH_SPLIT_COMPLETE, XLOG_HASH_SPLIT_PAGE, XLOG_HASH_SQUEEZE_PAGE, XLOG_HASH_UPDATE_META_PAGE, XLOG_HASH_VACUUM_ONE_PAGE, and XLR_INFO_MASK.

◆ hash_mask()

void hash_mask ( char *  pagedata,
BlockNumber  blkno 
)

Definition at line 1107 of file hash_xlog.c.

1108 {
1109  Page page = (Page) pagedata;
1110  HashPageOpaque opaque;
1111  int pagetype;
1112 
1114 
1115  mask_page_hint_bits(page);
1116  mask_unused_space(page);
1117 
1118  opaque = HashPageGetOpaque(page);
1119 
1120  pagetype = opaque->hasho_flag & LH_PAGE_TYPE;
1121  if (pagetype == LH_UNUSED_PAGE)
1122  {
1123  /*
1124  * Mask everything on a UNUSED page.
1125  */
1126  mask_page_content(page);
1127  }
1128  else if (pagetype == LH_BUCKET_PAGE ||
1129  pagetype == LH_OVERFLOW_PAGE)
1130  {
1131  /*
1132  * In hash bucket and overflow pages, it is possible to modify the
1133  * LP_FLAGS without emitting any WAL record. Hence, mask the line
1134  * pointer flags. See hashgettuple(), _hash_kill_items() for details.
1135  */
1136  mask_lp_flags(page);
1137  }
1138 
1139  /*
1140  * It is possible that the hint bit LH_PAGE_HAS_DEAD_TUPLES may remain
1141  * unlogged. So, mask it. See _hash_kill_items() for details.
1142  */
1143  opaque->hasho_flag &= ~LH_PAGE_HAS_DEAD_TUPLES;
1144 }
void mask_lp_flags(Page page)
Definition: bufmask.c:95
void mask_page_content(Page page)
Definition: bufmask.c:119
void mask_page_lsn_and_checksum(Page page)
Definition: bufmask.c:31
void mask_unused_space(Page page)
Definition: bufmask.c:71
void mask_page_hint_bits(Page page)
Definition: bufmask.c:46
Pointer Page
Definition: bufpage.h:78
#define HashPageGetOpaque(page)
Definition: hash.h:88
#define LH_BUCKET_PAGE
Definition: hash.h:55
#define LH_UNUSED_PAGE
Definition: hash.h:53
#define LH_PAGE_TYPE
Definition: hash.h:63
#define LH_PAGE_HAS_DEAD_TUPLES
Definition: hash.h:61
#define LH_OVERFLOW_PAGE
Definition: hash.h:54
uint16 hasho_flag
Definition: hash.h:82

References HashPageOpaqueData::hasho_flag, HashPageGetOpaque, LH_BUCKET_PAGE, LH_OVERFLOW_PAGE, LH_PAGE_HAS_DEAD_TUPLES, LH_PAGE_TYPE, LH_UNUSED_PAGE, mask_lp_flags(), mask_page_content(), mask_page_hint_bits(), mask_page_lsn_and_checksum(), and mask_unused_space().

◆ hash_redo()

void hash_redo ( XLogReaderState record)

Definition at line 1053 of file hash_xlog.c.

1054 {
1055  uint8 info = XLogRecGetInfo(record) & ~XLR_INFO_MASK;
1056 
1057  switch (info)
1058  {
1060  hash_xlog_init_meta_page(record);
1061  break;
1064  break;
1065  case XLOG_HASH_INSERT:
1066  hash_xlog_insert(record);
1067  break;
1069  hash_xlog_add_ovfl_page(record);
1070  break;
1073  break;
1074  case XLOG_HASH_SPLIT_PAGE:
1075  hash_xlog_split_page(record);
1076  break;
1078  hash_xlog_split_complete(record);
1079  break;
1082  break;
1084  hash_xlog_squeeze_page(record);
1085  break;
1086  case XLOG_HASH_DELETE:
1087  hash_xlog_delete(record);
1088  break;
1090  hash_xlog_split_cleanup(record);
1091  break;
1094  break;
1096  hash_xlog_vacuum_one_page(record);
1097  break;
1098  default:
1099  elog(PANIC, "hash_redo: unknown op code %u", info);
1100  }
1101 }
#define PANIC
Definition: elog.h:38
static void hash_xlog_split_cleanup(XLogReaderState *record)
Definition: hash_xlog.c:922
static void hash_xlog_add_ovfl_page(XLogReaderState *record)
Definition: hash_xlog.c:176
static void hash_xlog_split_page(XLogReaderState *record)
Definition: hash_xlog.c:431
static void hash_xlog_init_meta_page(XLogReaderState *record)
Definition: hash_xlog.c:30
static void hash_xlog_split_complete(XLogReaderState *record)
Definition: hash_xlog.c:445
static void hash_xlog_update_meta_page(XLogReaderState *record)
Definition: hash_xlog.c:947
static void hash_xlog_vacuum_one_page(XLogReaderState *record)
Definition: hash_xlog.c:974
static void hash_xlog_squeeze_page(XLogReaderState *record)
Definition: hash_xlog.c:630
static void hash_xlog_insert(XLogReaderState *record)
Definition: hash_xlog.c:128
static void hash_xlog_move_page_contents(XLogReaderState *record)
Definition: hash_xlog.c:504
static void hash_xlog_split_allocate_page(XLogReaderState *record)
Definition: hash_xlog.c:314
static void hash_xlog_delete(XLogReaderState *record)
Definition: hash_xlog.c:844
static void hash_xlog_init_bitmap_page(XLogReaderState *record)
Definition: hash_xlog.c:66

References elog(), hash_xlog_add_ovfl_page(), hash_xlog_delete(), hash_xlog_init_bitmap_page(), hash_xlog_init_meta_page(), hash_xlog_insert(), hash_xlog_move_page_contents(), hash_xlog_split_allocate_page(), hash_xlog_split_cleanup(), hash_xlog_split_complete(), hash_xlog_split_page(), hash_xlog_squeeze_page(), hash_xlog_update_meta_page(), hash_xlog_vacuum_one_page(), PANIC, XLOG_HASH_ADD_OVFL_PAGE, XLOG_HASH_DELETE, XLOG_HASH_INIT_BITMAP_PAGE, XLOG_HASH_INIT_META_PAGE, XLOG_HASH_INSERT, XLOG_HASH_MOVE_PAGE_CONTENTS, XLOG_HASH_SPLIT_ALLOCATE_PAGE, XLOG_HASH_SPLIT_CLEANUP, XLOG_HASH_SPLIT_COMPLETE, XLOG_HASH_SPLIT_PAGE, XLOG_HASH_SQUEEZE_PAGE, XLOG_HASH_UPDATE_META_PAGE, XLOG_HASH_VACUUM_ONE_PAGE, XLogRecGetInfo, and XLR_INFO_MASK.