#include "postgres.h"
#include "utils/relmapper.h"
Go to the source code of this file.
Functions | |
void | relmap_desc (StringInfo buf, uint8 xl_info, char *rec) |
void relmap_desc | ( | StringInfo | buf, | |
uint8 | xl_info, | |||
char * | rec | |||
) |
Definition at line 20 of file relmapdesc.c.
References appendStringInfo(), xl_relmap_update::dbid, xl_relmap_update::nbytes, xl_relmap_update::tsid, and XLOG_RELMAP_UPDATE.
{ uint8 info = xl_info & ~XLR_INFO_MASK; if (info == XLOG_RELMAP_UPDATE) { xl_relmap_update *xlrec = (xl_relmap_update *) rec; appendStringInfo(buf, "update relmap: database %u tablespace %u size %u", xlrec->dbid, xlrec->tsid, xlrec->nbytes); } else appendStringInfo(buf, "UNKNOWN"); }