PostgreSQL Source Code
git master
rmgrdesc.h
Go to the documentation of this file.
1
/*
2
* rmgrdesc.h
3
*
4
* pg_waldump resource managers declaration
5
*
6
* src/bin/pg_waldump/rmgrdesc.h
7
*/
8
#ifndef RMGRDESC_H
9
#define RMGRDESC_H
10
11
#include "
access/xlogreader.h
"
12
#include "
lib/stringinfo.h
"
13
14
typedef
struct
RmgrDescData
15
{
16
const
char
*
rm_name
;
17
void (*
rm_desc
) (
StringInfo
buf
,
XLogReaderState
*record);
18
const
char
*(*rm_identify) (
uint8
info);
19
}
RmgrDescData
;
20
21
extern
const
RmgrDescData
*
GetRmgrDesc
(
RmgrId
rmid);
22
23
#endif
/* RMGRDESC_H */
uint8
uint8_t uint8
Definition:
c.h:483
buf
static char * buf
Definition:
pg_test_fsync.c:72
RmgrId
uint8 RmgrId
Definition:
rmgr.h:11
GetRmgrDesc
const RmgrDescData * GetRmgrDesc(RmgrId rmid)
Definition:
rmgrdesc.c:87
RmgrDescData
struct RmgrDescData RmgrDescData
stringinfo.h
RmgrDescData
Definition:
rmgrdesc.h:15
RmgrDescData::rm_name
const char * rm_name
Definition:
rmgrdesc.h:16
RmgrDescData::rm_desc
void(* rm_desc)(StringInfo buf, XLogReaderState *record)
Definition:
rmgrdesc.h:17
StringInfoData
Definition:
stringinfo.h:47
XLogReaderState
Definition:
xlogreader.h:176
xlogreader.h
src
bin
pg_waldump
rmgrdesc.h
Generated on Mon Dec 9 2024 00:13:23 for PostgreSQL Source Code by
1.9.1