mirror of
https://github.com/postgres/postgres.git
synced 2025-05-19 00:04:06 -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
39 lines
1.0 KiB
C
39 lines
1.0 KiB
C
/*
|
|
* rmgr.c
|
|
*
|
|
* Resource managers definition
|
|
*
|
|
* src/backend/access/transam/rmgr.c
|
|
*/
|
|
#include "postgres.h"
|
|
|
|
#include "access/clog.h"
|
|
#include "access/commit_ts.h"
|
|
#include "access/ginxlog.h"
|
|
#include "access/gistxlog.h"
|
|
#include "access/generic_xlog.h"
|
|
#include "access/hash_xlog.h"
|
|
#include "access/heapam_xlog.h"
|
|
#include "access/brin_xlog.h"
|
|
#include "access/multixact.h"
|
|
#include "access/nbtxlog.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 "storage/standby.h"
|
|
#include "utils/relmapper.h"
|
|
|
|
/* must be kept in sync with RmgrData definition in xlog_internal.h */
|
|
#define PG_RMGR(symname,name,redo,desc,identify,startup,cleanup,mask) \
|
|
{ name, redo, desc, identify, startup, cleanup, mask },
|
|
|
|
const RmgrData RmgrTable[RM_MAX_ID + 1] = {
|
|
#include "access/rmgrlist.h"
|
|
};
|