diff options
Diffstat (limited to 'src/backend/access/rmgrdesc/robertdesc.c')
| -rw-r--r-- | src/backend/access/rmgrdesc/robertdesc.c | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/backend/access/rmgrdesc/robertdesc.c b/src/backend/access/rmgrdesc/robertdesc.c new file mode 100644 index 0000000000..5d030086ab --- /dev/null +++ b/src/backend/access/rmgrdesc/robertdesc.c @@ -0,0 +1,43 @@ +/*------------------------------------------------------------------------- + * + * robertdesc.c + * rmgr descriptor routines for access/robert + * + * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group + * Portions Copyright (c) 1994, Regents of the University of California + * + * + * IDENTIFICATION + * src/backend/access/rmgrdesc/robertdesc.c + * + *------------------------------------------------------------------------- + */ + +#include "postgres.h" + +#include "access/robert_xlog.h" + +void +robert_desc(StringInfo buf, XLogReaderState *record) +{ +#if 0 + char *rec = XLogRecGetData(record); + uint8 info = XLogRecGetInfo(record) & ~XLR_INFO_MASK; + + info &= XLOG_HEAP_OPMASK; +#endif +} + +const char * +robert_identify(uint8 info) +{ + const char *id = NULL; + + switch (info & ~XLR_INFO_MASK) + { + default: + id = "robert"; + } + + return id; +} |
