diff options
| author | Robert Haas | 2019-08-01 18:56:54 +0000 |
|---|---|---|
| committer | Robert Haas | 2019-08-05 13:26:48 +0000 |
| commit | cd998e5adc2acd79a1027d758b31104bb0035098 (patch) | |
| tree | 3514d850976da6229ddd7dda4cec19d1e2eb69a5 /src/include/access/robert_xlog.h | |
| parent | 6e8110605cce93bf64839ea40602812368876bc1 (diff) | |
Dummy AM for experimentation.robert
Diffstat (limited to 'src/include/access/robert_xlog.h')
| -rw-r--r-- | src/include/access/robert_xlog.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/include/access/robert_xlog.h b/src/include/access/robert_xlog.h new file mode 100644 index 0000000000..67496ff0b0 --- /dev/null +++ b/src/include/access/robert_xlog.h @@ -0,0 +1,29 @@ +/*------------------------------------------------------------------------- + * + * robert_xlog.h + * + * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group + * Portions Copyright (c) 1994, Regents of the University of California + * + * src/include/access/robert_xlog.h + * + *------------------------------------------------------------------------- + */ +#ifndef ROBERT_XLOG_H +#define ROBERT_XLOG_H + +#include "access/undoaccess.h" +#include "access/xlogreader.h" +#include "lib/stringinfo.h" + +#define ROBERT_UNDO_INSERT 1 +#define ROBERT_UNDO_DELETE 2 + +extern void robert_redo(XLogReaderState *record); +extern void robert_desc(StringInfo buf, XLogReaderState *record); +extern const char *robert_identify(uint8 info); + +extern void robert_undo(int nrecords, UndoRecInfo *records); +extern void robert_undo_desc(StringInfo buf, UnpackedUndoRecord *record); + +#endif /* ROBERT_XLOG_H */ |
