Skip to content
Snippets Groups Projects
Commit e4725ee7 authored by Marc G. Fournier's avatar Marc G. Fournier
Browse files

Makes it compile...still needs work

parent 90113e28
Branches
Tags
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.3 1996/11/03 23:27:01 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.4 1996/11/05 11:57:50 scrappy Exp $
* *
* INTERFACE ROUTINES * INTERFACE ROUTINES
* heap_creatr() - Create an uncataloged heap relation * heap_creatr() - Create an uncataloged heap relation
...@@ -30,6 +30,9 @@ ...@@ -30,6 +30,9 @@
#include "postgres.h" #include "postgres.h"
#include <catalog/heap.h>
#include <catalog/pg_proc.h>
#include "parser/catalog_utils.h" #include "parser/catalog_utils.h"
#include "access/heapam.h" #include "access/heapam.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.5 1996/11/03 23:27:02 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.6 1996/11/05 11:57:52 scrappy Exp $
* *
* *
* INTERFACE ROUTINES * INTERFACE ROUTINES
...@@ -25,6 +25,10 @@ ...@@ -25,6 +25,10 @@
*/ */
#include "postgres.h" #include "postgres.h"
#include <catalog/pg_proc.h>
#include <storage/bufmgr.h>
#include <fmgr.h>
#include "access/genam.h" #include "access/genam.h"
#include "access/heapam.h" #include "access/heapam.h"
#include "utils/builtins.h" #include "utils/builtins.h"
...@@ -60,6 +64,11 @@ ...@@ -60,6 +64,11 @@
#include "optimizer/prep.h" #include "optimizer/prep.h"
#include "access/istrat.h" #include "access/istrat.h"
#ifndef HAVE_MEMMOVE
# include <regex/utils.h>
#else
# include <string.h>
#endif
/* /*
* macros used in guessing how many tuples are on a page. * macros used in guessing how many tuples are on a page.
...@@ -1469,9 +1478,11 @@ DefaultBuild(Relation heapRelation, ...@@ -1469,9 +1478,11 @@ DefaultBuild(Relation heapRelation,
Datum *datum; Datum *datum;
char *nullv; char *nullv;
long reltuples, indtuples; long reltuples, indtuples;
#ifndef OMIT_PARTIAL_INDEX
ExprContext *econtext; ExprContext *econtext;
TupleTable tupleTable; TupleTable tupleTable;
TupleTableSlot *slot; TupleTableSlot *slot;
#endif
Node *predicate; Node *predicate;
Node *oldPred; Node *oldPred;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_operator.c,v 1.3 1996/11/03 23:27:06 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/catalog/pg_operator.c,v 1.4 1996/11/05 11:57:53 scrappy Exp $
* *
* NOTES * NOTES
* these routines moved here from commands/define.c and somewhat cleaned up. * these routines moved here from commands/define.c and somewhat cleaned up.
...@@ -17,6 +17,9 @@ ...@@ -17,6 +17,9 @@
#include <string.h> #include <string.h>
#include "postgres.h" #include "postgres.h"
#include <catalog/pg_proc.h>
#include <utils/syscache.h>
#include "access/heapam.h" #include "access/heapam.h"
#include "access/skey.h" #include "access/skey.h"
#include "access/htup.h" #include "access/htup.h"
......
...@@ -7,12 +7,14 @@ ...@@ -7,12 +7,14 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_proc.c,v 1.2 1996/11/03 23:27:07 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/catalog/pg_proc.c,v 1.3 1996/11/05 11:57:54 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include <string.h> #include <string.h>
#include "postgres.h" #include "postgres.h"
#include <utils/syscache.h>
#include <catalog/pg_proc.h>
#include "access/heapam.h" #include "access/heapam.h"
#include "access/relscan.h" #include "access/relscan.h"
......
...@@ -7,12 +7,15 @@ ...@@ -7,12 +7,15 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_type.c,v 1.2 1996/11/03 23:27:08 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/catalog/pg_type.c,v 1.3 1996/11/05 11:57:55 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include <string.h> #include <string.h>
#include "postgres.h" #include "postgres.h"
#include <utils/syscache.h>
#include <catalog/pg_proc.h>
#include "access/heapam.h" #include "access/heapam.h"
#include "access/relscan.h" #include "access/relscan.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment