~ubuntu-branches/ubuntu/oneiric/postgresql-9.1/oneiric-security

« back to all changes in this revision

Viewing changes to src/backend/access/transam/rmgr.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-05-11 10:41:53 UTC
  • Revision ID: james.westby@ubuntu.com-20110511104153-psbh2o58553fv1m0
Tags: upstream-9.1~beta1
ImportĀ upstreamĀ versionĀ 9.1~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * rmgr.c
 
3
 *
 
4
 * Resource managers definition
 
5
 *
 
6
 * src/backend/access/transam/rmgr.c
 
7
 */
 
8
#include "postgres.h"
 
9
 
 
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"
 
24
#include "storage/standby.h"
 
25
#include "utils/relmapper.h"
 
26
 
 
27
 
 
28
const RmgrData RmgrTable[RM_MAX_ID + 1] = {
 
29
        {"XLOG", xlog_redo, xlog_desc, NULL, NULL, NULL},
 
30
        {"Transaction", xact_redo, xact_desc, NULL, NULL, NULL},
 
31
        {"Storage", smgr_redo, smgr_desc, NULL, NULL, NULL},
 
32
        {"CLOG", clog_redo, clog_desc, NULL, NULL, NULL},
 
33
        {"Database", dbase_redo, dbase_desc, NULL, NULL, NULL},
 
34
        {"Tablespace", tblspc_redo, tblspc_desc, NULL, NULL, NULL},
 
35
        {"MultiXact", multixact_redo, multixact_desc, NULL, NULL, NULL},
 
36
        {"RelMap", relmap_redo, relmap_desc, NULL, NULL, NULL},
 
37
        {"Standby", standby_redo, standby_desc, NULL, NULL, NULL},
 
38
        {"Heap2", heap2_redo, heap2_desc, NULL, NULL, NULL},
 
39
        {"Heap", heap_redo, heap_desc, NULL, NULL, NULL},
 
40
        {"Btree", btree_redo, btree_desc, btree_xlog_startup, btree_xlog_cleanup, btree_safe_restartpoint},
 
41
        {"Hash", hash_redo, hash_desc, NULL, NULL, NULL},
 
42
        {"Gin", gin_redo, gin_desc, gin_xlog_startup, gin_xlog_cleanup, gin_safe_restartpoint},
 
43
        {"Gist", gist_redo, gist_desc, gist_xlog_startup, gist_xlog_cleanup, NULL},
 
44
        {"Sequence", seq_redo, seq_desc, NULL, NULL, NULL}
 
45
};