mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03:00
This is primarily useful for the upcoming pg_xlogdump --stats feature, but also allows to remove some duplicated code in the rmgr_desc routines. Due to the separation and harmonization, the output of dipsplayed records changes somewhat. But since this isn't enduser oriented content that's ok. It's potentially desirable to further change pg_xlogdump's display of records. It previously wasn't possible to show the record type separately from the description forcing it to be in the last column. But that's better done in a separate commit. Author: Abhijit Menon-Sen, slightly editorialized by me Reviewed-By: Álvaro Herrera, Andres Freund, and Heikki Linnakangas Discussion: 20140604104716.GA3989@toroid.org
36 lines
844 B
C
36 lines
844 B
C
/*
|
|
* rmgrdesc.c
|
|
*
|
|
* pg_xlogdump resource managers definition
|
|
*
|
|
* contrib/pg_xlogdump/rmgrdesc.c
|
|
*/
|
|
#define FRONTEND 1
|
|
#include "postgres.h"
|
|
|
|
#include "access/clog.h"
|
|
#include "access/gin.h"
|
|
#include "access/gist_private.h"
|
|
#include "access/hash.h"
|
|
#include "access/heapam_xlog.h"
|
|
#include "access/multixact.h"
|
|
#include "access/nbtree.h"
|
|
#include "access/rmgr.h"
|
|
#include "access/spgist.h"
|
|
#include "access/xact.h"
|
|
#include "access/xlog_internal.h"
|
|
#include "catalog/storage_xlog.h"
|
|
#include "commands/dbcommands.h"
|
|
#include "commands/sequence.h"
|
|
#include "commands/tablespace.h"
|
|
#include "rmgrdesc.h"
|
|
#include "storage/standby.h"
|
|
#include "utils/relmapper.h"
|
|
|
|
#define PG_RMGR(symname,name,redo,desc,identify,startup,cleanup) \
|
|
{ name, desc, identify},
|
|
|
|
const RmgrDescData RmgrDescTable[RM_MAX_ID + 1] = {
|
|
#include "access/rmgrlist.h"
|
|
};
|