From 40ffa1a14c3623e960af08ac57de404b1dc8ff5c Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Fri, 8 Jul 2005 04:12:27 +0000 Subject: 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. --- src/include/commands/dbcommands.h | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'src/include/commands/dbcommands.h') 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 { -- cgit v1.2.3