PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "access/rmgr.h"
#include "access/xlog_internal.h"
#include "fmgr.h"
#include "funcapi.h"
#include "miscadmin.h"
#include "nodes/execnodes.h"
#include "utils/builtins.h"
#include "utils/fmgrprotos.h"
#include "utils/tuplestore.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/spgxlog.h"
#include "access/xact.h"
#include "catalog/storage_xlog.h"
#include "commands/dbcommands_xlog.h"
#include "commands/sequence.h"
#include "commands/tablespace.h"
#include "replication/decode.h"
#include "replication/message.h"
#include "replication/origin.h"
#include "storage/standby.h"
#include "utils/relmapper.h"
#include "access/rmgrlist.h"
Go to the source code of this file.
Macros | |
#define | PG_RMGR(symname, name, redo, desc, identify, startup, cleanup, mask, decode) { name, redo, desc, identify, startup, cleanup, mask, decode }, |
#define | PG_GET_RESOURCE_MANAGERS_COLS 3 |
Functions | |
void | RmgrStartup (void) |
void | RmgrCleanup (void) |
void | RmgrNotFound (RmgrId rmid) |
void | RegisterCustomRmgr (RmgrId rmid, const RmgrData *rmgr) |
Datum | pg_get_wal_resource_managers (PG_FUNCTION_ARGS) |
Variables | |
RmgrData | RmgrTable [RM_MAX_ID+1] |
#define PG_GET_RESOURCE_MANAGERS_COLS 3 |
Datum pg_get_wal_resource_managers | ( | PG_FUNCTION_ARGS | ) |
Definition at line 150 of file rmgr.c.
References PG_GET_RESOURCE_MANAGERS_COLS, and values.
Definition at line 107 of file rmgr.c.
References ereport, errdetail(), errhint(), errmsg(), ERROR, LOG, pg_strcasecmp(), process_shared_preload_libraries_in_progress, RM_MAX_CUSTOM_ID, RM_MAX_ID, RM_MIN_CUSTOM_ID, RmgrData::rm_name, RmgrIdExists(), RmgrIdIsCustom(), and RmgrTable.
Referenced by _PG_init().
void RmgrCleanup | ( | void | ) |
Definition at line 74 of file rmgr.c.
References RmgrData::rm_cleanup, RM_MAX_ID, RmgrIdExists(), and RmgrTable.
Referenced by PerformWalRecovery().
void RmgrNotFound | ( | RmgrId | rmid | ) |
void RmgrStartup | ( | void | ) |
Definition at line 58 of file rmgr.c.
References RM_MAX_ID, RmgrData::rm_startup, RmgrIdExists(), and RmgrTable.
Referenced by PerformWalRecovery().
Definition at line 50 of file rmgr.c.
Referenced by GetRmgr(), RegisterCustomRmgr(), RmgrCleanup(), RmgrIdExists(), and RmgrStartup().