mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
639ed4e84b
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
22 lines
374 B
C
22 lines
374 B
C
/*
|
|
* rmgrdesc.h
|
|
*
|
|
* pg_xlogdump resource managers declaration
|
|
*
|
|
* contrib/pg_xlogdump/rmgrdesc.h
|
|
*/
|
|
#ifndef RMGRDESC_H
|
|
#define RMGRDESC_H
|
|
|
|
#include "lib/stringinfo.h"
|
|
|
|
typedef struct RmgrDescData
|
|
{
|
|
const char *rm_name;
|
|
void (*rm_desc) (StringInfo buf, uint8 xl_info, char *rec);
|
|
} RmgrDescData;
|
|
|
|
extern const RmgrDescData RmgrDescTable[];
|
|
|
|
#endif /* RMGRDESC_H */
|