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
0b3cb80e
Commit
0b3cb80e
authored
Nov 04, 1996
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
finally, this directory is (should be!) totally clean
parent
7870c5a0
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
40 additions
and
46 deletions
+40
-46
src/include/utils/builtins.h
src/include/utils/builtins.h
+3
-3
src/include/utils/catcache.h
src/include/utils/catcache.h
+4
-4
src/include/utils/excid.h
src/include/utils/excid.h
+1
-2
src/include/utils/fmgrtab.h
src/include/utils/fmgrtab.h
+1
-2
src/include/utils/inval.h
src/include/utils/inval.h
+3
-3
src/include/utils/lselect.h
src/include/utils/lselect.h
+3
-2
src/include/utils/lsyscache.h
src/include/utils/lsyscache.h
+3
-2
src/include/utils/mcxt.h
src/include/utils/mcxt.h
+2
-2
src/include/utils/portal.h
src/include/utils/portal.h
+5
-8
src/include/utils/psort.h
src/include/utils/psort.h
+4
-5
src/include/utils/rel.h
src/include/utils/rel.h
+4
-4
src/include/utils/rel2.h
src/include/utils/rel2.h
+2
-2
src/include/utils/relcache.h
src/include/utils/relcache.h
+2
-4
src/include/utils/syscache.h
src/include/utils/syscache.h
+3
-3
No files found.
src/include/utils/builtins.h
View file @
0b3cb80e
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: builtins.h,v 1.
5 1996/11/04 07:46:00
scrappy Exp $
* $Id: builtins.h,v 1.
6 1996/11/04 11:51:14
scrappy Exp $
*
*
* NOTES
* NOTES
* This should normally only be included by fmgr.h.
* This should normally only be included by fmgr.h.
...
@@ -19,9 +19,9 @@
...
@@ -19,9 +19,9 @@
#define BUILTINS_H
#define BUILTINS_H
#include <storage/itemptr.h>
#include <storage/itemptr.h>
#include <utils/rel.h>
#include <utils/nabstime.h>
#include <utils/geo-decls.h>
#include <utils/geo-decls.h>
#include <utils/nabstime.h>
#include <utils/rel.h>
/*
/*
* Defined in adt/
* Defined in adt/
...
...
src/include/utils/catcache.h
View file @
0b3cb80e
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: catcache.h,v 1.
3 1996/11/04 07:59:39
scrappy Exp $
* $Id: catcache.h,v 1.
4 1996/11/04 11:51:15
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -15,10 +15,10 @@
...
@@ -15,10 +15,10 @@
/* #define CACHEDEBUG turns DEBUG elogs on */
/* #define CACHEDEBUG turns DEBUG elogs on */
#include <utils/rel.h>
#include <nodes/memnodes.h>
#include <lib/dllist.h>
#include <access/htup.h>
#include <access/htup.h>
#include <lib/dllist.h>
#include <nodes/memnodes.h>
#include <utils/rel.h>
/*
/*
* struct catctup: tuples in the cache.
* struct catctup: tuples in the cache.
...
...
src/include/utils/excid.h
View file @
0b3cb80e
...
@@ -6,14 +6,13 @@
...
@@ -6,14 +6,13 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: excid.h,v 1.
2 1996/10/31 09:51:15
scrappy Exp $
* $Id: excid.h,v 1.
3 1996/11/04 11:51:16
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#ifndef EXCID_H
#ifndef EXCID_H
#define EXCID_H
#define EXCID_H
#include "utils/exc.h"
/* for Exception */
extern
Exception
FailedAssertion
;
extern
Exception
FailedAssertion
;
extern
Exception
BadState
;
extern
Exception
BadState
;
...
...
src/include/utils/fmgrtab.h
View file @
0b3cb80e
...
@@ -6,14 +6,13 @@
...
@@ -6,14 +6,13 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: fmgrtab.h,v 1.
2 1996/10/31 09
:51:17 scrappy Exp $
* $Id: fmgrtab.h,v 1.
3 1996/11/04 11
:51:17 scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#ifndef FMGRTAB_H
#ifndef FMGRTAB_H
#define FMGRTAB_H
#define FMGRTAB_H
#include "fmgr.h"
/* genearated by Gen_fmgrtab.sh */
typedef
struct
{
typedef
struct
{
Oid
proid
;
Oid
proid
;
...
...
src/include/utils/inval.h
View file @
0b3cb80e
...
@@ -6,15 +6,15 @@
...
@@ -6,15 +6,15 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: inval.h,v 1.
2 1996/10/31 09:51:21
scrappy Exp $
* $Id: inval.h,v 1.
3 1996/11/04 11:51:18
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#ifndef INVAL_H
#ifndef INVAL_H
#define INVAL_H
#define INVAL_H
#include
"access/htup.h"
#include
<access/htup.h>
#include
"utils/rel.h"
#include
<utils/rel.h>
extern
void
DiscardInvalid
(
void
);
extern
void
DiscardInvalid
(
void
);
...
...
src/include/utils/lselect.h
View file @
0b3cb80e
...
@@ -6,14 +6,15 @@
...
@@ -6,14 +6,15 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: lselect.h,v 1.
2 1996/10/31 09:51:23
scrappy Exp $
* $Id: lselect.h,v 1.
3 1996/11/04 11:51:19
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#ifndef LSELECT_H
#ifndef LSELECT_H
#define LSELECT_H
#define LSELECT_H
#include "access/htup.h"
#include <stdio.h>
#include <access/htup.h>
struct
leftist
{
struct
leftist
{
short
lt_dist
;
/* distance to leaf/empty node */
short
lt_dist
;
/* distance to leaf/empty node */
...
...
src/include/utils/lsyscache.h
View file @
0b3cb80e
...
@@ -6,14 +6,15 @@
...
@@ -6,14 +6,15 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: lsyscache.h,v 1.
1 1996/08/28 01:59:08
scrappy Exp $
* $Id: lsyscache.h,v 1.
2 1996/11/04 11:51:20
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#ifndef LSYSCACHE_H
#ifndef LSYSCACHE_H
#define LSYSCACHE_H
#define LSYSCACHE_H
#include "access/htup.h"
#include <access/attnum.h>
#include <access/htup.h>
extern
bool
op_class
(
Oid
opid
,
int32
opclass
,
Oid
amopid
);
extern
bool
op_class
(
Oid
opid
,
int32
opclass
,
Oid
amopid
);
extern
char
*
get_attname
(
Oid
relid
,
AttrNumber
attnum
);
extern
char
*
get_attname
(
Oid
relid
,
AttrNumber
attnum
);
...
...
src/include/utils/mcxt.h
View file @
0b3cb80e
...
@@ -6,14 +6,14 @@
...
@@ -6,14 +6,14 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: mcxt.h,v 1.
3 1996/11/03 08:17:34
scrappy Exp $
* $Id: mcxt.h,v 1.
4 1996/11/04 11:51:21
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#ifndef MCXT_H
#ifndef MCXT_H
#define MCXT_H
#define MCXT_H
#include
"nodes/memnodes.h"
#include
<nodes/memnodes.h>
extern
MemoryContext
CurrentMemoryContext
;
extern
MemoryContext
CurrentMemoryContext
;
extern
MemoryContext
TopMemoryContext
;
extern
MemoryContext
TopMemoryContext
;
...
...
src/include/utils/portal.h
View file @
0b3cb80e
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: portal.h,v 1.
2 1996/10/31 09:51:29
scrappy Exp $
* $Id: portal.h,v 1.
3 1996/11/04 11:51:22
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -25,13 +25,10 @@
...
@@ -25,13 +25,10 @@
#ifndef PORTAL_H
#ifndef PORTAL_H
#define PORTAL_H
#define PORTAL_H
#include <executor/execdesc.h>
#include "nodes/execnodes.h"
/* for EState */
#include <lib/fstack.h>
#include "nodes/memnodes.h"
#include <nodes/memnodes.h>
#include "nodes/nodes.h"
#include <utils/memutils.h>
#include "nodes/pg_list.h"
#include "nodes/plannodes.h"
/* for Plan */
#include "executor/execdesc.h"
typedef
struct
PortalBlockData
{
typedef
struct
PortalBlockData
{
AllocSetData
setData
;
AllocSetData
setData
;
...
...
src/include/utils/psort.h
View file @
0b3cb80e
...
@@ -6,13 +6,16 @@
...
@@ -6,13 +6,16 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: psort.h,v 1.
1 1996/08/28 01:59:20
scrappy Exp $
* $Id: psort.h,v 1.
2 1996/11/04 11:51:23
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#ifndef PSORT_H
#ifndef PSORT_H
#define PSORT_H
#define PSORT_H
#include <stdio.h>
#include <access/relscan.h>
#define SORTMEM (1 << 18)
/* 1/4 M - any static memory */
#define SORTMEM (1 << 18)
/* 1/4 M - any static memory */
#define MAXTAPES 7
/* 7--See Fig. 70, p273 */
#define MAXTAPES 7
/* 7--See Fig. 70, p273 */
#define TAPEEXT "pg_psort.XXXXXX"
/* TEMPDIR/TAPEEXT */
#define TAPEEXT "pg_psort.XXXXXX"
/* TEMPDIR/TAPEEXT */
...
@@ -39,10 +42,6 @@ extern Relation SortRdesc;
...
@@ -39,10 +42,6 @@ extern Relation SortRdesc;
extern
struct
leftist
*
Tuples
;
extern
struct
leftist
*
Tuples
;
#ifdef EBUG
#ifdef EBUG
#include <stdio.h>
#include "utils/elog.h"
#include "storage/buf.h"
#include "storage/bufmgr.h"
#define PDEBUG(PROC, S1)\
#define PDEBUG(PROC, S1)\
elog(DEBUG, "%s:%d>> PROC: %s.", __FILE__, __LINE__, S1)
elog(DEBUG, "%s:%d>> PROC: %s.", __FILE__, __LINE__, S1)
...
...
src/include/utils/rel.h
View file @
0b3cb80e
...
@@ -6,18 +6,18 @@
...
@@ -6,18 +6,18 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: rel.h,v 1.
6 1996/11/04 07:46:06
scrappy Exp $
* $Id: rel.h,v 1.
7 1996/11/04 11:51:24
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#ifndef REL_H
#ifndef REL_H
#define REL_H
#define REL_H
#include <catalog/pg_am.h>
#include <catalog/pg_class.h>
#include <access/strat.h>
#include <access/strat.h>
#include <rewrite/prs2lock.h>
#include <access/tupdesc.h>
#include <access/tupdesc.h>
#include <catalog/pg_class.h>
#include <rewrite/prs2lock.h>
#include <catalog/pg_am.h>
#include <storage/fd.h>
#include <storage/fd.h>
typedef
struct
RelationData
{
typedef
struct
RelationData
{
...
...
src/include/utils/rel2.h
View file @
0b3cb80e
...
@@ -6,14 +6,14 @@
...
@@ -6,14 +6,14 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: rel2.h,v 1.
1 1996/08/28 01:59:22
scrappy Exp $
* $Id: rel2.h,v 1.
2 1996/11/04 11:51:25
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#ifndef TMP_REL2_H
#ifndef TMP_REL2_H
#define TMP_REL2_H
#define TMP_REL2_H
#include
"access/istrat.h"
#include
<utils/rel.h>
extern
IndexStrategy
RelationGetIndexStrategy
(
Relation
relation
);
extern
IndexStrategy
RelationGetIndexStrategy
(
Relation
relation
);
...
...
src/include/utils/relcache.h
View file @
0b3cb80e
...
@@ -6,16 +6,14 @@
...
@@ -6,16 +6,14 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: relcache.h,v 1.
2 1996/10/31 09:51:30
scrappy Exp $
* $Id: relcache.h,v 1.
3 1996/11/04 11:51:26
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#ifndef RELCACHE_H
#ifndef RELCACHE_H
#define RELCACHE_H
#define RELCACHE_H
#include <sys/types.h>
#include <utils/rel.h>
#include "utils/rel.h"
/*
/*
* relation lookup routines
* relation lookup routines
...
...
src/include/utils/syscache.h
View file @
0b3cb80e
...
@@ -6,15 +6,15 @@
...
@@ -6,15 +6,15 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: syscache.h,v 1.
3 1996/10/31 05:58:01 momjian
Exp $
* $Id: syscache.h,v 1.
4 1996/11/04 11:51:27 scrappy
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#ifndef SYSCACHE_H
#ifndef SYSCACHE_H
#define SYSCACHE_H
#define SYSCACHE_H
#include
"access/attnum.h"
#include
<access/attnum.h>
#include
"access/htup.h"
#include
<access/htup.h>
/*#define CACHEDEBUG*/
/* turns DEBUG elogs on */
/*#define CACHEDEBUG*/
/* turns DEBUG elogs on */
...
...
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