mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Add pg_xlogdump contrib program
This program relies on rm_desc backend routines and the xlogreader infrastructure to emit human-readable rendering of WAL records. Author: Andres Freund, with many reworks by Álvaro Reviewed (in a much earlier version) by Peter Eisentraut
This commit is contained in:
36
contrib/pg_xlogdump/rmgrdesc.c
Normal file
36
contrib/pg_xlogdump/rmgrdesc.c
Normal file
@ -0,0 +1,36 @@
|
||||
/*
|
||||
* rmgrdesc.c
|
||||
*
|
||||
* pg_xlogdump resource managers definition
|
||||
*
|
||||
* contrib/pg_xlogdump/rmgrdesc.c
|
||||
*/
|
||||
#define FRONTEND 1
|
||||
#include "postgres.h"
|
||||
|
||||
#include "access/clog.h"
|
||||
#include "access/gin.h"
|
||||
#include "access/gist_private.h"
|
||||
#include "access/hash.h"
|
||||
#include "access/heapam_xlog.h"
|
||||
#include "access/multixact.h"
|
||||
#include "access/nbtree.h"
|
||||
#include "access/rmgr.h"
|
||||
#include "access/spgist.h"
|
||||
#include "access/xact.h"
|
||||
#include "access/xlog_internal.h"
|
||||
#include "catalog/storage_xlog.h"
|
||||
#include "commands/dbcommands.h"
|
||||
#include "commands/sequence.h"
|
||||
#include "commands/tablespace.h"
|
||||
#include "rmgrdesc.h"
|
||||
#include "storage/standby.h"
|
||||
#include "utils/relmapper.h"
|
||||
|
||||
#define PG_RMGR(symname,name,redo,desc,startup,cleanup,restartpoint) \
|
||||
{ name, desc, },
|
||||
|
||||
const RmgrDescData RmgrDescTable[RM_MAX_ID + 1] = {
|
||||
#include "access/rmgrlist.h"
|
||||
};
|
||||
|
Reference in New Issue
Block a user