mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
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.
This commit is contained in:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user