~vcs-imports/mammoth-replicator/trunk

« back to all changes in this revision

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

  • Committer: alvherre
  • Date: 2005-12-16 21:24:52 UTC
  • Revision ID: svn-v4:db760fc0-0f08-0410-9d63-cc6633f64896:trunk:1
Initial import of the REL8_0_3 sources from the Pgsql CVS repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * rmgr.c
 
3
 *
 
4
 * Resource managers definition
 
5
 *
 
6
 * $PostgreSQL: pgsql/src/backend/access/transam/rmgr.c,v 1.16 2004-08-29 21:08:47 tgl Exp $
 
7
 */
 
8
#include "postgres.h"
 
9
 
 
10
#include "access/clog.h"
 
11
#include "access/gist.h"
 
12
#include "access/hash.h"
 
13
#include "access/heapam.h"
 
14
#include "access/nbtree.h"
 
15
#include "access/rtree.h"
 
16
#include "access/xact.h"
 
17
#include "access/xlog_internal.h"
 
18
#include "commands/dbcommands.h"
 
19
#include "commands/sequence.h"
 
20
#include "commands/tablespace.h"
 
21
#include "storage/smgr.h"
 
22
 
 
23
 
 
24
const RmgrData RmgrTable[RM_MAX_ID + 1] = {
 
25
        {"XLOG", xlog_redo, xlog_undo, xlog_desc, NULL, NULL},
 
26
        {"Transaction", xact_redo, xact_undo, xact_desc, NULL, NULL},
 
27
        {"Storage", smgr_redo, smgr_undo, smgr_desc, NULL, NULL},
 
28
        {"CLOG", clog_redo, clog_undo, clog_desc, NULL, NULL},
 
29
        {"Database", dbase_redo, dbase_undo, dbase_desc, NULL, NULL},
 
30
        {"Tablespace", tblspc_redo, tblspc_undo, tblspc_desc, NULL, NULL},
 
31
        {"Reserved 6", NULL, NULL, NULL, NULL, NULL},
 
32
        {"Reserved 7", NULL, NULL, NULL, NULL, NULL},
 
33
        {"Reserved 8", NULL, NULL, NULL, NULL, NULL},
 
34
        {"Reserved 9", NULL, NULL, NULL, NULL, NULL},
 
35
        {"Heap", heap_redo, heap_undo, heap_desc, NULL, NULL},
 
36
        {"Btree", btree_redo, btree_undo, btree_desc,
 
37
        btree_xlog_startup, btree_xlog_cleanup},
 
38
        {"Hash", hash_redo, hash_undo, hash_desc, NULL, NULL},
 
39
        {"Rtree", rtree_redo, rtree_undo, rtree_desc, NULL, NULL},
 
40
        {"Gist", gist_redo, gist_undo, gist_desc, NULL, NULL},
 
41
        {"Sequence", seq_redo, seq_undo, seq_desc, NULL, NULL}
 
42
};