1
/*-------------------------------------------------------------------------
4
* rmgr descriptor routines for commands/sequence.c
6
* Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
7
* Portions Copyright (c) 1994, Regents of the University of California
11
* src/backend/access/rmgrdesc/seqdesc.c
13
*-------------------------------------------------------------------------
17
#include "commands/sequence.h"
21
seq_desc(StringInfo buf, uint8 xl_info, char *rec)
23
uint8 info = xl_info & ~XLR_INFO_MASK;
24
xl_seq_rec *xlrec = (xl_seq_rec *) rec;
26
if (info == XLOG_SEQ_LOG)
27
appendStringInfo(buf, "log: ");
30
appendStringInfo(buf, "UNKNOWN");
34
appendStringInfo(buf, "rel %u/%u/%u",
35
xlrec->node.spcNode, xlrec->node.dbNode, xlrec->node.relNode);