Skip to content
Snippets Groups Projects
Commit 77308880 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

More cleanup

parent 4d5aa343
Branches
Tags
No related merge requests found
Showing
with 45 additions and 44 deletions
......@@ -37,6 +37,7 @@ PARSER
* Unique index on base column not honored on inserts from inherited table
INSERT INTO inherit_table (unique_index_col) VALUES (dup) should fail
* CREATE TABLE x AS SELECT 1 UNION SELECT 2 fails
* CREATE TABLE test(col char(2) DEFAULT user) fails in length restriction
VIEWS
......
......@@ -6,17 +6,17 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: genam.h,v 1.19 1999/07/15 23:03:33 momjian Exp $
* $Id: genam.h,v 1.20 1999/07/16 17:07:25 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef GENAM_H
#define GENAM_H
#include "access/sdir.h"
#include "access/funcindex.h"
#include "access/relscan.h"
#include "access/itup.h"
#include "access/relscan.h"
#include "access/sdir.h"
/* ----------------
* generalized index_ interface routines
......
......@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: hash.h,v 1.26 1999/07/15 23:03:34 momjian Exp $
* $Id: hash.h,v 1.27 1999/07/16 17:07:26 momjian Exp $
*
* NOTES
* modeled after Margo Seltzer's hash implementation for unix.
......@@ -16,10 +16,10 @@
#ifndef HASH_H
#define HASH_H
#include "access/sdir.h"
#include "access/funcindex.h"
#include "access/relscan.h"
#include "access/itup.h"
#include "access/relscan.h"
#include "access/sdir.h"
#include "utils/int8.h"
/*
......
......@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: heapam.h,v 1.44 1999/07/15 15:20:53 momjian Exp $
* $Id: heapam.h,v 1.45 1999/07/16 17:07:26 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -14,9 +14,9 @@
#define HEAPAM_H
#include <time.h>
#include "access/tupmacs.h"
#include "access/htup.h"
#include "access/relscan.h"
#include "access/tupmacs.h"
#include "storage/block.h"
#include "utils/rel.h"
#include "utils/tqual.h"
......
......@@ -6,15 +6,15 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: iqual.h,v 1.12 1999/07/15 23:03:34 momjian Exp $
* $Id: iqual.h,v 1.13 1999/07/16 17:07:27 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef IQUAL_H
#define IQUAL_H
#include "access/skey.h"
#include "access/itup.h"
#include "access/skey.h"
/* ----------------
......
......@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: itup.h,v 1.19 1999/07/15 23:03:35 momjian Exp $
* $Id: itup.h,v 1.20 1999/07/16 17:07:27 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -14,8 +14,8 @@
#define ITUP_H
#include "access/ibit.h"
#include "access/tupmacs.h"
#include "access/tupdesc.h"
#include "access/tupmacs.h"
#include "storage/itemptr.h"
#define MaxIndexAttributeNumber 7
......
......@@ -6,17 +6,17 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: nbtree.h,v 1.29 1999/07/15 23:03:35 momjian Exp $
* $Id: nbtree.h,v 1.30 1999/07/16 17:07:27 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef NBTREE_H
#define NBTREE_H
#include "access/sdir.h"
#include "access/relscan.h"
#include "access/funcindex.h"
#include "access/itup.h"
#include "access/relscan.h"
#include "access/sdir.h"
/*
* BTPageOpaqueData -- At the end of every page, we store a pointer
......
......@@ -6,16 +6,16 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: rtscan.h,v 1.7 1999/07/15 23:03:37 momjian Exp $
* $Id: rtscan.h,v 1.8 1999/07/16 17:07:27 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef RTSCAN_H
#define RTSCAN_H
#include "utils/rel.h"
#include "storage/block.h"
#include "storage/off.h"
#include "utils/rel.h"
void rtadjscans(Relation r, int op, BlockNumber blkno, OffsetNumber offnum);
......
......@@ -6,16 +6,16 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: tupdesc.h,v 1.23 1999/07/15 23:03:38 momjian Exp $
* $Id: tupdesc.h,v 1.24 1999/07/16 17:07:28 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef TUPDESC_H
#define TUPDESC_H
#include "nodes/pg_list.h"
#include "access/attnum.h"
#include "catalog/pg_attribute.h"
#include "nodes/pg_list.h"
typedef struct attrDefault
......
......@@ -6,15 +6,15 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: xact.h,v 1.22 1999/07/15 23:03:38 momjian Exp $
* $Id: xact.h,v 1.23 1999/07/16 17:07:28 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef XACT_H
#define XACT_H
#include "utils/nabstime.h"
#include "access/transam.h"
#include "utils/nabstime.h"
/* ----------------
* transaction state structure
......
......@@ -6,15 +6,15 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: index.h,v 1.18 1999/07/15 23:03:42 momjian Exp $
* $Id: index.h,v 1.19 1999/07/16 17:07:29 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef INDEX_H
#define INDEX_H
#include "nodes/execnodes.h"
#include "access/itup.h"
#include "nodes/execnodes.h"
extern Form_pg_am AccessMethodObjectIdGetForm(Oid accessMethodObjectId);
......
......@@ -6,15 +6,15 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: defrem.h,v 1.16 1999/07/15 23:03:44 momjian Exp $
* $Id: defrem.h,v 1.17 1999/07/16 17:07:30 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef DEFREM_H
#define DEFREM_H
#include "tcop/dest.h"
#include "nodes/parsenodes.h"
#include "tcop/dest.h"
/*
* prototypes in defind.c
......
......@@ -5,15 +5,15 @@
*
* Copyright (c) 1994-5, Regents of the University of California
*
* $Id: explain.h,v 1.8 1999/02/13 23:21:19 momjian Exp $
* $Id: explain.h,v 1.9 1999/07/16 17:07:31 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef EXPLAIN_H
#define EXPLAIN_H
#include "tcop/dest.h"
#include "nodes/parsenodes.h"
#include "tcop/dest.h"
extern void ExplainQuery(Query *query, bool verbose, CommandDest dest);
......
......@@ -9,8 +9,8 @@
#ifndef TRIGGER_H
#define TRIGGER_H
#include "nodes/parsenodes.h"
#include "nodes/execnodes.h"
#include "nodes/parsenodes.h"
typedef uint32 TriggerEvent;
......
......@@ -6,15 +6,15 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: execFlatten.h,v 1.9 1999/07/15 15:21:04 momjian Exp $
* $Id: execFlatten.h,v 1.10 1999/07/16 17:07:31 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef EXECFLATTEN_H
#define EXECFLATTEN_H
#include "nodes/relation.h"
#include "nodes/execnodes.h"
#include "nodes/relation.h"
extern Datum ExecEvalIter(Iter *iterNode, ExprContext *econtext, bool *resultIsNull, bool *iterIsDone);
......
......@@ -7,16 +7,16 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: execdesc.h,v 1.11 1999/07/15 23:03:47 momjian Exp $
* $Id: execdesc.h,v 1.12 1999/07/16 17:07:32 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef EXECDESC_H
#define EXECDESC_H
#include "tcop/dest.h"
#include "nodes/plannodes.h"
#include "nodes/parsenodes.h"
#include "nodes/plannodes.h"
#include "tcop/dest.h"
/* ----------------
* query descriptor:
......
......@@ -6,20 +6,20 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: execnodes.h,v 1.32 1999/07/15 23:03:52 momjian Exp $
* $Id: execnodes.h,v 1.33 1999/07/16 17:07:33 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef EXECNODES_H
#define EXECNODES_H
#include "nodes/primnodes.h"
#include "executor/hashjoin.h"
#include "access/funcindex.h"
#include "access/relscan.h"
#include "access/sdir.h"
#include "nodes/params.h"
#include "executor/hashjoin.h"
#include "executor/tuptable.h"
#include "access/funcindex.h"
#include "nodes/params.h"
#include "nodes/primnodes.h"
/* ----------------
* IndexInfo information
......
......@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: memnodes.h,v 1.14 1999/07/15 23:03:53 momjian Exp $
* $Id: memnodes.h,v 1.15 1999/07/16 17:07:33 momjian Exp $
*
* XXX the typedefs in this file are different from the other ???nodes.h;
* they are pointers to structures instead of the structures themselves.
......@@ -19,8 +19,8 @@
#define MEMNODES_H
#include "lib/fstack.h"
#include "utils/memutils.h"
#include "nodes/nodes.h"
#include "utils/memutils.h"
/*
* MemoryContext
......
......@@ -6,16 +6,16 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: primnodes.h,v 1.30 1999/07/15 23:03:56 momjian Exp $
* $Id: primnodes.h,v 1.31 1999/07/16 17:07:33 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PRIMNODES_H
#define PRIMNODES_H
#include "utils/fcache.h"
#include "access/attnum.h"
#include "nodes/pg_list.h"
#include "utils/fcache.h"
/* ----------------------------------------------------------------
* node definitions
......
......@@ -6,15 +6,15 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: xfunc.h,v 1.2 1999/07/15 23:03:59 momjian Exp $
* $Id: xfunc.h,v 1.3 1999/07/16 17:07:35 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef XFUNC_H
#define XFUNC_H
#include "utils/rel.h"
#include "nodes/relation.h"
#include "utils/rel.h"
/* command line arg flags */
#define XFUNC_OFF -1 /* do no optimization of expensive preds */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment