OSDN Git Service

rebuid:
[eos/hostdependX86MAC64.git] / util / X86MAC64 / include / postgresql / server / access / rmgrlist.h
1 /*---------------------------------------------------------------------------
2  * rmgrlist.h
3  *
4  * The resource manager list is kept in its own source file for possible
5  * use by automatic tools.  The exact representation of a rmgr is determined
6  * by the PG_RMGR macro, which is not defined in this file; it can be
7  * defined by the caller for special purposes.
8  *
9  * Portions Copyright (c) 1996-2014, PostgreSQL Global Development Group
10  * Portions Copyright (c) 1994, Regents of the University of California
11  *
12  * src/include/access/rmgrlist.h
13  *---------------------------------------------------------------------------
14  */
15
16 /* there is deliberately not an #ifndef RMGRLIST_H here */
17
18 /*
19  * List of resource manager entries.  Note that order of entries defines the
20  * numerical values of each rmgr's ID, which is stored in WAL records.  New
21  * entries should be added at the end, to avoid changing IDs of existing
22  * entries.
23  *
24  * Changes to this list possibly need a XLOG_PAGE_MAGIC bump.
25  */
26
27 /* symbol name, textual name, redo, desc, startup, cleanup */
28 PG_RMGR(RM_XLOG_ID, "XLOG", xlog_redo, xlog_desc, NULL, NULL)
29 PG_RMGR(RM_XACT_ID, "Transaction", xact_redo, xact_desc, NULL, NULL)
30 PG_RMGR(RM_SMGR_ID, "Storage", smgr_redo, smgr_desc, NULL, NULL)
31 PG_RMGR(RM_CLOG_ID, "CLOG", clog_redo, clog_desc, NULL, NULL)
32 PG_RMGR(RM_DBASE_ID, "Database", dbase_redo, dbase_desc, NULL, NULL)
33 PG_RMGR(RM_TBLSPC_ID, "Tablespace", tblspc_redo, tblspc_desc, NULL, NULL)
34 PG_RMGR(RM_MULTIXACT_ID, "MultiXact", multixact_redo, multixact_desc, NULL, NULL)
35 PG_RMGR(RM_RELMAP_ID, "RelMap", relmap_redo, relmap_desc, NULL, NULL)
36 PG_RMGR(RM_STANDBY_ID, "Standby", standby_redo, standby_desc, NULL, NULL)
37 PG_RMGR(RM_HEAP2_ID, "Heap2", heap2_redo, heap2_desc, NULL, NULL)
38 PG_RMGR(RM_HEAP_ID, "Heap", heap_redo, heap_desc, NULL, NULL)
39 PG_RMGR(RM_BTREE_ID, "Btree", btree_redo, btree_desc, NULL, NULL)
40 PG_RMGR(RM_HASH_ID, "Hash", hash_redo, hash_desc, NULL, NULL)
41 PG_RMGR(RM_GIN_ID, "Gin", gin_redo, gin_desc, gin_xlog_startup, gin_xlog_cleanup)
42 PG_RMGR(RM_GIST_ID, "Gist", gist_redo, gist_desc, gist_xlog_startup, gist_xlog_cleanup)
43 PG_RMGR(RM_SEQ_ID, "Sequence", seq_redo, seq_desc, NULL, NULL)
44 PG_RMGR(RM_SPGIST_ID, "SPGist", spg_redo, spg_desc, spg_xlog_startup, spg_xlog_cleanup)