Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
4029fb52
Commit
4029fb52
authored
Nov 03, 1996
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
first pass at cleaning up include files
parent
ca112038
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
31 additions
and
70 deletions
+31
-70
src/backend/catalog/Makefile
src/backend/catalog/Makefile
+1
-2
src/backend/catalog/catalog.c
src/backend/catalog/catalog.c
+4
-5
src/backend/catalog/heap.c
src/backend/catalog/heap.c
+5
-13
src/backend/catalog/index.c
src/backend/catalog/index.c
+4
-15
src/backend/catalog/indexing.c
src/backend/catalog/indexing.c
+3
-9
src/backend/catalog/pg_aggregate.c
src/backend/catalog/pg_aggregate.c
+3
-4
src/backend/catalog/pg_operator.c
src/backend/catalog/pg_operator.c
+3
-6
src/backend/catalog/pg_proc.c
src/backend/catalog/pg_proc.c
+5
-10
src/backend/catalog/pg_type.c
src/backend/catalog/pg_type.c
+3
-6
No files found.
src/backend/catalog/Makefile
View file @
4029fb52
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
# Makefile for catalog
# Makefile for catalog
#
#
# IDENTIFICATION
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.
1 1996/10/27 09:47:07 bryanh
Exp $
# $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.
2 1996/11/03 23:26:58 scrappy
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -13,7 +13,6 @@ include ../../Makefile.global
...
@@ -13,7 +13,6 @@ include ../../Makefile.global
INCLUDE_OPT
=
-I
..
\
INCLUDE_OPT
=
-I
..
\
-I
../port/
$(PORTNAME)
\
-I
../port/
$(PORTNAME)
\
-I
../include
\
-I
../../include
-I
../../include
CFLAGS
+=
$(INCLUDE_OPT)
CFLAGS
+=
$(INCLUDE_OPT)
...
...
src/backend/catalog/catalog.c
View file @
4029fb52
...
@@ -7,24 +7,23 @@
...
@@ -7,24 +7,23 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.
2 1996/10/18 05:50:04
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.
3 1996/11/03 23:27:00
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <string.h>
/* XXX */
#include <string.h>
/* XXX */
#include "postgres.h"
#include "postgres.h"
#include "miscadmin.h"
/* for DataDir */
#include "miscadmin.h"
/* for DataDir */
#include "access/htup.h"
#include "utils/syscache.h"
#include "storage/buf.h"
#include "storage/buf.h"
#include "utils/elog.h"
#include "utils/palloc.h"
#include "utils/palloc.h"
#include "utils/syscache.h"
#include "catalog/catname.h"
/* NameIs{,Shared}SystemRelationName */
#include "catalog/catname.h"
/* NameIs{,Shared}SystemRelationName */
#include "catalog/pg_attribute.h"
#include "catalog/pg_attribute.h"
#include "catalog/pg_type.h"
#include "catalog/pg_type.h"
#include "catalog/catalog.h"
#include "catalog/catalog.h"
#include "storage/bufmgr.h"
#include "access/transam.h"
#include "access/transam.h"
/*
/*
...
...
src/backend/catalog/heap.c
View file @
4029fb52
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.
2 1996/10/24 07:54:45
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.
3 1996/11/03 23:27:01
scrappy Exp $
*
*
* INTERFACE ROUTINES
* INTERFACE ROUTINES
* heap_creatr() - Create an uncataloged heap relation
* heap_creatr() - Create an uncataloged heap relation
...
@@ -30,44 +30,36 @@
...
@@ -30,44 +30,36 @@
#include "postgres.h"
#include "postgres.h"
#include "parser/catalog_utils.h"
#include "access/heapam.h"
#include "access/heapam.h"
#include "access/genam.h"
#include "access/genam.h"
#include "access/htup.h"
#include "access/istrat.h"
#include "access/istrat.h"
#include "access/relscan.h"
#include "access/skey.h"
#include "utils/tqual.h"
/* for NowTimeQual */
#include "storage/buf.h"
#include "storage/bufmgr.h"
#include "storage/bufmgr.h"
#include "storage/itemptr.h"
#include "lib/hasht.h"
#include "lib/hasht.h"
#include "miscadmin.h"
#include "miscadmin.h"
#include "fmgr.h"
#include "fmgr.h"
#include "utils/builtins.h"
#include "utils/builtins.h"
#include "utils/elog.h"
/* XXX */
#include "utils/mcxt.h"
#include "utils/mcxt.h"
#include "utils/palloc.h"
#include "utils/palloc.h"
#include "utils/rel.h"
#include "utils/relcache.h"
#include "utils/relcache.h"
#include "catalog/catname.h"
#include "catalog/catname.h"
#include "catalog/pg_class.h"
#include "catalog/pg_attribute.h"
#include "catalog/pg_attribute.h"
#include "catalog/pg_index.h"
#include "catalog/pg_index.h"
#include "catalog/pg_inherits.h"
#include "catalog/pg_inherits.h"
#include "catalog/pg_ipl.h"
#include "catalog/pg_ipl.h"
#include "catalog/pg_proc.h"
#include "catalog/pg_type.h"
#include "catalog/index.h"
#include "catalog/index.h"
#include "catalog/indexing.h"
#include "catalog/indexing.h"
#include "catalog/catalog.h"
#include "catalog/catalog.h"
#include "parser/catalog_utils.h"
#include "storage/lmgr.h"
#include "storage/lmgr.h"
#include "rewrite/rewriteRemove.h"
#include "rewrite/rewriteRemove.h"
#include "storage/smgr.h"
static
void
AddNewAttributeTuples
(
Oid
new_rel_oid
,
TupleDesc
tupdesc
);
static
void
AddNewAttributeTuples
(
Oid
new_rel_oid
,
TupleDesc
tupdesc
);
static
void
CheckAttributeNames
(
TupleDesc
tupdesc
);
static
void
CheckAttributeNames
(
TupleDesc
tupdesc
);
...
...
src/backend/catalog/index.c
View file @
4029fb52
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.
4 1996/08/27 22:16:3
2 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.
5 1996/11/03 23:27:0
2 scrappy Exp $
*
*
*
*
* INTERFACE ROUTINES
* INTERFACE ROUTINES
...
@@ -25,25 +25,18 @@
...
@@ -25,25 +25,18 @@
*/
*/
#include "postgres.h"
#include "postgres.h"
#include "access/attnum.h"
#include "access/genam.h"
#include "access/genam.h"
#include "access/heapam.h"
#include "access/heapam.h"
#include "access/itup.h"
#include "access/relscan.h"
#include "access/skey.h"
#include "utils/builtins.h"
#include "utils/builtins.h"
#include "utils/tqual.h"
#include "access/tupdesc.h"
#include "access/funcindex.h"
#include "access/xact.h"
#include "access/xact.h"
#include "parser/catalog_utils.h"
#include "storage/smgr.h"
#include "storage/smgr.h"
#include "storage/lmgr.h"
#include "miscadmin.h"
#include "miscadmin.h"
#include "utils/mcxt.h"
#include "utils/mcxt.h"
#include "utils/palloc.h"
#include "utils/palloc.h"
#include "utils/rel.h"
#include "utils/relcache.h"
#include "utils/relcache.h"
#include "utils/elog.h"
#include "bootstrap/bootstrap.h"
#include "bootstrap/bootstrap.h"
...
@@ -51,15 +44,11 @@
...
@@ -51,15 +44,11 @@
#include "catalog/catalog.h"
#include "catalog/catalog.h"
#include "utils/syscache.h"
#include "utils/syscache.h"
#include "catalog/pg_attribute.h"
#include "catalog/pg_attribute.h"
#include "catalog/pg_index.h"
#include "catalog/pg_proc.h"
#include "catalog/pg_class.h"
#include "catalog/pg_class.h"
#include "catalog/pg_type.h"
#include "catalog/indexing.h"
#include "catalog/indexing.h"
#include "catalog/heap.h"
#include "catalog/heap.h"
#include "nodes/execnodes.h"
#include "nodes/plannodes.h"
#include "nodes/plannodes.h"
#include "catalog/index.h"
#include "catalog/index.h"
...
@@ -70,7 +59,7 @@
...
@@ -70,7 +59,7 @@
#include "optimizer/clauses.h"
#include "optimizer/clauses.h"
#include "optimizer/prep.h"
#include "optimizer/prep.h"
#include "
parser/catalog_utils
.h"
#include "
access/istrat
.h"
/*
/*
* macros used in guessing how many tuples are on a page.
* macros used in guessing how many tuples are on a page.
...
...
src/backend/catalog/indexing.c
View file @
4029fb52
...
@@ -8,36 +8,31 @@
...
@@ -8,36 +8,31 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.
2 1996/08/26 06:29:38
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.
3 1996/11/03 23:27:04
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include "postgres.h"
#include "postgres.h"
#include "utils/builtins.h"
#include "utils/builtins.h"
#include "utils/rel.h"
#include "utils/elog.h"
#include "utils/oidcompos.h"
#include "utils/oidcompos.h"
#include "utils/palloc.h"
#include "utils/palloc.h"
#include "access/htup.h"
#include "access/heapam.h"
#include "access/heapam.h"
#include "access/genam.h"
#include "access/genam.h"
#include "access/attnum.h"
#include "access/funcindex.h"
#include "access/skey.h"
#include "access/skey.h"
#include "storage/buf.h"
#include "storage/bufmgr.h"
#include "storage/bufmgr.h"
#include "nodes/execnodes.h"
#include "nodes/execnodes.h"
#include "catalog/catalog.h"
#include "catalog/catalog.h"
#include "catalog/catname.h"
#include "catalog/catname.h"
#include "catalog/pg_index.h"
#include "catalog/pg_index.h"
#include "catalog/pg_proc.h"
#include "catalog/pg_proc.h"
#include "catalog/pg_type.h"
#include "catalog/pg_class.h"
#include "catalog/pg_class.h"
#include "catalog/pg_attribute.h"
#include "catalog/pg_attribute.h"
#include "utils/syscache.h"
#include "utils/syscache.h"
#include "catalog/indexing.h"
#include "catalog/indexing.h"
#include "catalog/index.h"
#include "catalog/index.h"
#include "miscadmin.h"
/*
/*
* Names of indices on the following system catalogs:
* Names of indices on the following system catalogs:
*
*
...
@@ -141,7 +136,6 @@ CatalogIndexInsert(Relation *idescs,
...
@@ -141,7 +136,6 @@ CatalogIndexInsert(Relation *idescs,
HeapTuple
pgIndexTup
;
HeapTuple
pgIndexTup
;
TupleDesc
heapDescriptor
;
TupleDesc
heapDescriptor
;
IndexTupleForm
pgIndexP
;
IndexTupleForm
pgIndexP
;
IndexTuple
newIndxTup
;
Datum
datum
;
Datum
datum
;
int
natts
;
int
natts
;
AttrNumber
*
attnumP
;
AttrNumber
*
attnumP
;
...
...
src/backend/catalog/pg_aggregate.c
View file @
4029fb52
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_aggregate.c,v 1.
1.1.1 1996/07/09 06:21:16
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_aggregate.c,v 1.
2 1996/11/03 23:27:05
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -17,10 +17,7 @@
...
@@ -17,10 +17,7 @@
#include "access/heapam.h"
#include "access/heapam.h"
#include "access/relscan.h"
#include "access/relscan.h"
#include "access/skey.h"
#include "access/skey.h"
#include "access/htup.h"
#include "access/tupdesc.h"
#include "access/tupdesc.h"
#include "utils/rel.h"
#include "utils/elog.h"
#include "utils/palloc.h"
#include "utils/palloc.h"
#include "utils/builtins.h"
#include "utils/builtins.h"
#include "fmgr.h"
#include "fmgr.h"
...
@@ -32,6 +29,8 @@
...
@@ -32,6 +29,8 @@
#include "catalog/pg_type.h"
#include "catalog/pg_type.h"
#include "catalog/pg_aggregate.h"
#include "catalog/pg_aggregate.h"
#include "miscadmin.h"
/* ----------------
/* ----------------
* AggregateCreate
* AggregateCreate
*
*
...
...
src/backend/catalog/pg_operator.c
View file @
4029fb52
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_operator.c,v 1.
2 1996/10/07 03:27:48
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_operator.c,v 1.
3 1996/11/03 23:27:06
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.
...
@@ -18,22 +18,19 @@
...
@@ -18,22 +18,19 @@
#include "postgres.h"
#include "postgres.h"
#include "access/heapam.h"
#include "access/heapam.h"
#include "access/relscan.h"
#include "access/skey.h"
#include "access/skey.h"
#include "access/htup.h"
#include "access/htup.h"
#include "utils/rel.h"
#include "utils/elog.h"
#include "utils/palloc.h"
#include "utils/palloc.h"
#include "parser/catalog_utils.h"
#include "parser/catalog_utils.h"
#include "catalog/catname.h"
#include "catalog/catname.h"
#include "utils/syscache.h"
#include "catalog/pg_operator.h"
#include "catalog/pg_operator.h"
#include "catalog/pg_proc.h"
#include "storage/bufmgr.h"
#include "storage/bufmgr.h"
#include "fmgr.h"
#include "fmgr.h"
#include "miscadmin.h"
static
Oid
OperatorGetWithOpenRelation
(
Relation
pg_operator_desc
,
static
Oid
OperatorGetWithOpenRelation
(
Relation
pg_operator_desc
,
const
char
*
operatorName
,
const
char
*
operatorName
,
Oid
leftObjectId
,
Oid
leftObjectId
,
...
...
src/backend/catalog/pg_proc.c
View file @
4029fb52
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_proc.c,v 1.
1.1.1 1996/07/09 06:21:1
7 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_proc.c,v 1.
2 1996/11/03 23:27:0
7 scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -17,27 +17,22 @@
...
@@ -17,27 +17,22 @@
#include "access/heapam.h"
#include "access/heapam.h"
#include "access/relscan.h"
#include "access/relscan.h"
#include "access/skey.h"
#include "access/skey.h"
#include "utils/rel.h"
#include "fmgr.h"
#include "fmgr.h"
#include "utils/elog.h"
#include "utils/builtins.h"
#include "utils/builtins.h"
#include "utils/sets.h"
#include "utils/sets.h"
#include "nodes/pg_list.h"
#include "catalog/catname.h"
#include "catalog/catname.h"
#include "utils/syscache.h"
#include "catalog/pg_proc.h"
#include "catalog/indexing.h"
#include "catalog/indexing.h"
#include "tcop/dest.h"
#include "parser/parse_query.h"
#include "parser/parse_query.h"
#include "tcop/tcopprot.h"
#include "tcop/tcopprot.h"
#include "catalog/pg_type.h"
#include "parser/catalog_utils.h"
#include "parser/catalog_utils.h"
#include "utils/lsyscache.h"
#include "optimizer/internal.h"
#include "optimizer/internal.h"
#include "optimizer/planner.h"
#include "optimizer/planner.h"
#include "utils/lsyscache.h"
#include "miscadmin.h"
/* ----------------------------------------------------------------
/* ----------------------------------------------------------------
* ProcedureDefine
* ProcedureDefine
* ----------------------------------------------------------------
* ----------------------------------------------------------------
...
...
src/backend/catalog/pg_type.c
View file @
4029fb52
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_type.c,v 1.
1.1.1 1996/07/09 06:21:1
8 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_type.c,v 1.
2 1996/11/03 23:27:0
8 scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -19,19 +19,16 @@
...
@@ -19,19 +19,16 @@
#include "access/skey.h"
#include "access/skey.h"
#include "access/tupdesc.h"
#include "access/tupdesc.h"
#include "utils/builtins.h"
#include "utils/builtins.h"
#include "utils/rel.h"
#include "utils/palloc.h"
#include "utils/palloc.h"
#include "fmgr.h"
#include "fmgr.h"
#include "utils/elog.h"
#include "parser/catalog_utils.h"
#include "parser/catalog_utils.h"
#include "catalog/catname.h"
#include "catalog/catname.h"
#include "utils/syscache.h"
#include "catalog/pg_proc.h"
#include "catalog/pg_type.h"
#include "catalog/indexing.h"
#include "catalog/indexing.h"
#include "storage/lmgr.h"
#include "storage/lmgr.h"
#include "miscadmin.h"
/* ----------------------------------------------------------------
/* ----------------------------------------------------------------
* TypeGetWithOpenRelation
* TypeGetWithOpenRelation
*
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment