aboutsummaryrefslogtreecommitdiff
path: root/src/include/commands/dbcommands.h
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2005-07-08 04:12:27 +0000
committerNeil Conway <neilc@samurai.com>2005-07-08 04:12:27 +0000
commit40ffa1a14c3623e960af08ac57de404b1dc8ff5c (patch)
tree8393aa416501bbc684b8c4117c5fb6c03820bc27 /src/include/commands/dbcommands.h
parentd7207cfc6bc070660a2e51d2c892dd4d93f5b636 (diff)
downloadpostgresql-40ffa1a14c3623e960af08ac57de404b1dc8ff5c.tar.gz
postgresql-40ffa1a14c3623e960af08ac57de404b1dc8ff5c.zip
Remove some dead code for handling XLOG_DBASE_CREATE_OLD and
XLOG_DBASE_DROP_OLD WAL records -- these records are no longer created in current sources. Adjust numbering of XLOG_DBASE_CREATE and XLOG_DBASE_DROP and bump the catversion. Patch from Gavin Sherry, adjusted by Neil Conway.
Diffstat (limited to 'src/include/commands/dbcommands.h')
-rw-r--r--src/include/commands/dbcommands.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/include/commands/dbcommands.h b/src/include/commands/dbcommands.h
index 1a4fd5123c2..8020fc7e4e8 100644
--- a/src/include/commands/dbcommands.h
+++ b/src/include/commands/dbcommands.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/commands/dbcommands.h,v 1.39 2005/06/28 05:09:12 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/commands/dbcommands.h,v 1.40 2005/07/08 04:12:27 neilc Exp $
*
*-------------------------------------------------------------------------
*/
@@ -18,17 +18,8 @@
#include "nodes/parsenodes.h"
/* XLOG stuff */
-#define XLOG_DBASE_CREATE_OLD 0x00
-#define XLOG_DBASE_DROP_OLD 0x10
-#define XLOG_DBASE_CREATE 0x20
-#define XLOG_DBASE_DROP 0x30
-
-/*
- * Note: "old" versions are deprecated and need not be supported beyond 8.0.
- * Not only are they relatively bulky, but they do the Wrong Thing when a
- * WAL log is replayed in a data area that's at a different absolute path
- * than the original.
- */
+#define XLOG_DBASE_CREATE 0x00
+#define XLOG_DBASE_DROP 0x10
typedef struct xl_dbase_create_rec_old
{