mirror of
https://github.com/postgres/postgres.git
synced 2026-05-25 02:40:42 -04:00
The xlog-specific headers need to be included in both frontend code - specifically, pg_waldump - and the backend, but the remainder of the private headers for each index are only needed by the backend. By splitting the xlog stuff out into separate headers, pg_waldump pulls in fewer backend headers, which is a good thing. Patch by me, reviewed by Michael Paquier and Andres Freund, per a complaint from Dilip Kumar. Discussion: http://postgr.es/m/CA+TgmoZ=F=GkxV0YEv-A8tb+AEGy_Qa7GSiJ8deBKFATnzfEug@mail.gmail.com
40 lines
1,021 B
C
40 lines
1,021 B
C
/*
|
|
* rmgrdesc.c
|
|
*
|
|
* pg_waldump resource managers definition
|
|
*
|
|
* src/bin/pg_waldump/rmgrdesc.c
|
|
*/
|
|
#define FRONTEND 1
|
|
#include "postgres.h"
|
|
|
|
#include "access/brin_xlog.h"
|
|
#include "access/clog.h"
|
|
#include "access/commit_ts.h"
|
|
#include "access/generic_xlog.h"
|
|
#include "access/ginxlog.h"
|
|
#include "access/gistxlog.h"
|
|
#include "access/hash_xlog.h"
|
|
#include "access/heapam_xlog.h"
|
|
#include "access/multixact.h"
|
|
#include "access/nbtxlog.h"
|
|
#include "access/rmgr.h"
|
|
#include "access/spgxlog.h"
|
|
#include "access/xact.h"
|
|
#include "access/xlog_internal.h"
|
|
#include "catalog/storage_xlog.h"
|
|
#include "commands/dbcommands_xlog.h"
|
|
#include "commands/sequence.h"
|
|
#include "commands/tablespace.h"
|
|
#include "replication/message.h"
|
|
#include "replication/origin.h"
|
|
#include "rmgrdesc.h"
|
|
#include "storage/standbydefs.h"
|
|
#include "utils/relmapper.h"
|
|
|
|
#define PG_RMGR(symname,name,redo,desc,identify,startup,cleanup,mask) \
|
|
{ name, desc, identify},
|
|
|
|
const RmgrDescData RmgrDescTable[RM_MAX_ID + 1] = {
|
|
#include "access/rmgrlist.h"
|
|
};
|