forked from huawei/openGauss-server
Update batch_redo.h
This commit is contained in:
parent
f0c4025a52
commit
4f76c8b27a
|
|
@ -26,6 +26,8 @@
|
||||||
#ifndef BATCH_REDO_H
|
#ifndef BATCH_REDO_H
|
||||||
#define 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 "c.h"
|
||||||
#include "storage/buf/block.h"
|
#include "storage/buf/block.h"
|
||||||
#include "storage/smgr/relfilenode.h"
|
#include "storage/smgr/relfilenode.h"
|
||||||
|
|
@ -64,6 +66,7 @@ typedef struct redoitemhashentry {
|
||||||
XLogRecParseState *tail;
|
XLogRecParseState *tail;
|
||||||
int redoItemNum;
|
int redoItemNum;
|
||||||
} RedoItemHashEntry;
|
} RedoItemHashEntry;
|
||||||
|
/*Provide operations for multiple threads*/
|
||||||
|
|
||||||
extern void PRPrintRedoItemHashTab(HTAB *redoItemHash);
|
extern void PRPrintRedoItemHashTab(HTAB *redoItemHash);
|
||||||
extern HTAB *PRRedoItemHashInitialize(MemoryContext context);
|
extern HTAB *PRRedoItemHashInitialize(MemoryContext context);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue