1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-24 01:29:19 +03:00

Split out list of XLog resource managers

The new rmgrlist.h header, containing all necessary data
about built-in resource managers, allows other pieces of code to
access them.

In particular, this allows a future pg_xlogdump program to extract
rm_desc function pointers, without having to keep a duplicate list of
them.
This commit is contained in:
Alvaro Herrera
2013-02-05 17:21:29 -03:00
parent cb9b66d31a
commit 5a1cd89f8f
4 changed files with 68 additions and 38 deletions

View File

@@ -233,7 +233,10 @@ struct XLogRecord;
/*
* Method table for resource managers.
*
* RmgrTable[] is indexed by RmgrId values (see rmgr.h).
* This struct must be kept in sync with the PG_RMGR definition in
* rmgr.c.
*
* RmgrTable[] is indexed by RmgrId values (see rmgrlist.h).
*/
typedef struct RmgrData
{