diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-08-29 21:08:48 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-08-29 21:08:48 +0000 |
commit | 50742aed68b7a3a8d1a0c8ef8d970c97fc74dd9b (patch) | |
tree | c60891419eb5cb4e2c73296f973d91bba13f9e03 /src/include/access/rmgr.h | |
parent | ee66401f3176e32c884ce98c09c8383cfa453dbc (diff) |
Add WAL logging for CREATE/DROP DATABASE and CREATE/DROP TABLESPACE.
Fix TablespaceCreateDbspace() to be able to create a dummy directory
in place of a dropped tablespace's symlink. This eliminates the open
problem of a PANIC during WAL replay when a replayed action attempts
to touch a file in a since-deleted tablespace. It also makes for a
significant improvement in the usability of PITR replay.
Diffstat (limited to 'src/include/access/rmgr.h')
-rw-r--r-- | src/include/access/rmgr.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/access/rmgr.h b/src/include/access/rmgr.h index d43f6fdcaf1..b01f8058873 100644 --- a/src/include/access/rmgr.h +++ b/src/include/access/rmgr.h @@ -3,7 +3,7 @@ * * Resource managers definition * - * $PostgreSQL: pgsql/src/include/access/rmgr.h,v 1.12 2004/08/23 23:22:45 tgl Exp $ + * $PostgreSQL: pgsql/src/include/access/rmgr.h,v 1.13 2004/08/29 21:08:47 tgl Exp $ */ #ifndef RMGR_H #define RMGR_H @@ -17,6 +17,8 @@ typedef uint8 RmgrId; #define RM_XACT_ID 1 #define RM_SMGR_ID 2 #define RM_CLOG_ID 3 +#define RM_DBASE_ID 4 +#define RM_TBLSPC_ID 5 #define RM_HEAP_ID 10 #define RM_BTREE_ID 11 #define RM_HASH_ID 12 |