Query in SQL function still not schema-safe; add a couple
[PostgreSQL.git] / src / backend / access / transam / rmgr.c
blob0273b0e153c108fcc500e4f4f7bf1f9bb2086574
1 /*
2 * rmgr.c
4 * Resource managers definition
6 * $PostgreSQL$
7 */
8 #include "postgres.h"
10 #include "access/clog.h"
11 #include "access/gin.h"
12 #include "access/gist_private.h"
13 #include "access/hash.h"
14 #include "access/heapam.h"
15 #include "access/multixact.h"
16 #include "access/nbtree.h"
17 #include "access/xact.h"
18 #include "access/xlog_internal.h"
19 #include "catalog/storage.h"
20 #include "commands/dbcommands.h"
21 #include "commands/sequence.h"
22 #include "commands/tablespace.h"
23 #include "storage/freespace.h"
26 const RmgrData RmgrTable[RM_MAX_ID + 1] = {
27 {"XLOG", xlog_redo, xlog_desc, NULL, NULL, NULL},
28 {"Transaction", xact_redo, xact_desc, NULL, NULL, NULL},
29 {"Storage", smgr_redo, smgr_desc, NULL, NULL, NULL},
30 {"CLOG", clog_redo, clog_desc, NULL, NULL, NULL},
31 {"Database", dbase_redo, dbase_desc, NULL, NULL, NULL},
32 {"Tablespace", tblspc_redo, tblspc_desc, NULL, NULL, NULL},
33 {"MultiXact", multixact_redo, multixact_desc, NULL, NULL, NULL},
34 {"Reserved 7", NULL, NULL, NULL, NULL, NULL},
35 {"Reserved 8", NULL, NULL, NULL, NULL, NULL},
36 {"Heap2", heap2_redo, heap2_desc, NULL, NULL, NULL},
37 {"Heap", heap_redo, heap_desc, NULL, NULL, NULL},
38 {"Btree", btree_redo, btree_desc, btree_xlog_startup, btree_xlog_cleanup, btree_safe_restartpoint},
39 {"Hash", hash_redo, hash_desc, NULL, NULL, NULL},
40 {"Gin", gin_redo, gin_desc, gin_xlog_startup, gin_xlog_cleanup, gin_safe_restartpoint},
41 {"Gist", gist_redo, gist_desc, gist_xlog_startup, gist_xlog_cleanup, gist_safe_restartpoint},
42 {"Sequence", seq_redo, seq_desc, NULL, NULL, NULL}