Update batch_redo.h

This commit is contained in:
bjyb 2023-09-17 00:28:34 +08:00
parent f0c4025a52
commit 4f76c8b27a
1 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,8 @@
#ifndef BATCH_REDO_H
#define BATCH_REDO_H
/*This header file is used for replay after the failure of multi-batch database.*/
#include "c.h"
#include "storage/buf/block.h"
#include "storage/smgr/relfilenode.h"
@ -64,6 +66,7 @@ typedef struct redoitemhashentry {
XLogRecParseState *tail;
int redoItemNum;
} RedoItemHashEntry;
/*Provide operations for multiple threads*/
extern void PRPrintRedoItemHashTab(HTAB *redoItemHash);
extern HTAB *PRRedoItemHashInitialize(MemoryContext context);