1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-07 19:06:32 +03:00

Remove archive stuff.

This commit is contained in:
Bruce Momjian
1997-11-21 18:12:58 +00:00
parent 0889dcd6f7
commit 3fa2bb316c
38 changed files with 158 additions and 790 deletions

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: parsenodes.h,v 1.31 1997/11/20 23:23:44 momjian Exp $
* $Id: parsenodes.h,v 1.32 1997/11/21 18:12:28 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -129,11 +129,6 @@ typedef struct CopyStmt
* Create Table Statement
* ----------------------
*/
typedef enum ArchType
{
ARCH_NONE, ARCH_LIGHT, ARCH_HEAVY /* archive mode */
} ArchType;
typedef struct CreateStmt
{
NodeTag type;
@@ -141,9 +136,6 @@ typedef struct CreateStmt
List *tableElts; /* column definitions list of ColumnDef */
List *inhRelnames; /* relations to inherit from list of Value
* (string) */
ArchType archiveType; /* archive mode (ARCH_NONE if none */
int location; /* smgrid (-1 if none) */
int archiveLoc; /* smgrid (-1 if none) */
List *constraints; /* list of constraints (ConstaintDef) */
} CreateStmt;
@@ -328,18 +320,6 @@ typedef struct ProcedureStmt
char *language; /* C or SQL */
} ProcedureStmt;
/* ----------------------
* Purge Statement
* ----------------------
*/
typedef struct PurgeStmt
{
NodeTag type;
char *relname; /* relation to purge */
char *beforeDate; /* purge before this date */
char *afterDate; /* purge after this date */
} PurgeStmt;
/* ----------------------
* Drop Aggregate Statement
* ----------------------
@@ -880,7 +860,6 @@ typedef struct RangeTblEntry
* from clause) */
Oid relid;
bool inh; /* inheritance? */
bool archive; /* filled in by plan_archive */
bool inFromCl; /* comes from From Clause */
} RangeTblEntry;