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
4312192e
Commit
4312192e
authored
Nov 05, 1996
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
another directory cleaned of extraneous #includes
makefile fixed for fmgr.h
parent
0cf60fb7
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
51 additions
and
83 deletions
+51
-83
src/backend/access/hash/Makefile
src/backend/access/hash/Makefile
+3
-2
src/backend/access/hash/hash.c
src/backend/access/hash/hash.c
+10
-21
src/backend/access/hash/hashinsert.c
src/backend/access/hash/hashinsert.c
+5
-13
src/backend/access/hash/hashovfl.c
src/backend/access/hash/hashovfl.c
+6
-7
src/backend/access/hash/hashpage.c
src/backend/access/hash/hashpage.c
+9
-15
src/backend/access/hash/hashscan.c
src/backend/access/hash/hashscan.c
+3
-5
src/backend/access/hash/hashsearch.c
src/backend/access/hash/hashsearch.c
+4
-6
src/backend/access/hash/hashstrat.c
src/backend/access/hash/hashstrat.c
+4
-5
src/backend/access/hash/hashutil.c
src/backend/access/hash/hashutil.c
+7
-9
No files found.
src/backend/access/hash/Makefile
View file @
4312192e
...
...
@@ -4,14 +4,15 @@
# Makefile for access/hash
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/access/hash/Makefile,v 1.
2 1996/10/31 08:24:3
6 scrappy Exp $
# $Header: /cvsroot/pgsql/src/backend/access/hash/Makefile,v 1.
3 1996/11/05 09:40:1
6 scrappy Exp $
#
#-------------------------------------------------------------------------
SRCDIR
=
../../..
include
../../../Makefile.global
INCLUDE_OPT
=
-I
../../port/
$(PORTNAME)
\
INCLUDE_OPT
=
-I
../..
\
-I
../../port/
$(PORTNAME)
\
-I
../../../include
CFLAGS
+=
$(INCLUDE_OPT)
...
...
src/backend/access/hash/hash.c
View file @
4312192e
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.
9 1996/11/03 12:34:33
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.
10 1996/11/05 09:40:17
scrappy Exp $
*
* NOTES
* This file contains only the public interface routines.
...
...
@@ -15,33 +15,22 @@
*-------------------------------------------------------------------------
*/
#include
"postgres.h"
#include
<postgres.h>
#include "access/relscan.h"
#include "access/hash.h"
#include "nodes/execnodes.h"
#include "executor/executor.h"
#include "access/heapam.h"
#include "access/genam.h"
#include "utils/palloc.h"
#include "catalog/index.h"
#include <access/hash.h>
#include <executor/executor.h>
#include <access/heapam.h>
#include <access/genam.h>
#include <catalog/index.h>
#include <storage/bufmgr.h>
#include <miscadmin.h>
#ifndef HAVE_MEMMOVE
# include
"regex/utils.h"
# include
<regex/utils.h>
#else
# include <string.h>
#endif
#include "storage/bufmgr.h"
#include "miscadmin.h"
bool
BuildingHash
=
false
;
/*
...
...
src/backend/access/hash/hashinsert.c
View file @
4312192e
...
...
@@ -7,24 +7,16 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashinsert.c,v 1.
6 1996/11/03 12:34:35
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashinsert.c,v 1.
7 1996/11/05 09:40:18
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#include <stdio.h>
#include <time.h>
#include <postgres.h>
#include "postgres.h"
#include "access/relscan.h"
#include "access/hash.h"
#include "storage/bufmgr.h"
#include "utils/palloc.h"
#include "utils/memutils.h"
#include <access/hash.h>
#include <storage/bufmgr.h>
#include <utils/memutils.h>
static
InsertIndexResult
_hash_insertonpg
(
Relation
rel
,
Buffer
buf
,
int
keysz
,
ScanKey
scankey
,
HashItem
hitem
,
Buffer
metabuf
);
static
OffsetNumber
_hash_pgaddtup
(
Relation
rel
,
Buffer
buf
,
int
keysz
,
ScanKey
itup_scankey
,
Size
itemsize
,
HashItem
hitem
);
...
...
src/backend/access/hash/hashovfl.c
View file @
4312192e
...
...
@@ -7,22 +7,21 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashovfl.c,v 1.
7 1996/11/03 12:34:38
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashovfl.c,v 1.
8 1996/11/05 09:40:20
scrappy Exp $
*
* NOTES
* Overflow pages look like ordinary relation pages.
*
*-------------------------------------------------------------------------
*/
#include
"postgres.h"
#include
<postgres.h>
#include "access/relscan.h"
#include "access/hash.h"
#include "storage/bufmgr.h"
#include "utils/memutils.h"
#include <access/hash.h>
#include <storage/bufmgr.h>
#include <utils/memutils.h>
#ifndef HAVE_MEMMOVE
# include
"regex/utils.h"
# include
<regex/utils.h>
#else
# include <string.h>
#endif
...
...
src/backend/access/hash/hashpage.c
View file @
4312192e
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.
6 1996/11/03 12:34:40
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.
7 1996/11/05 09:40:21
scrappy Exp $
*
* NOTES
* Postgres hash pages look like ordinary relation pages. The opaque
...
...
@@ -23,23 +23,17 @@
*-------------------------------------------------------------------------
*/
#include
"postgres.h"
#include
<postgres.h>
#include "access/relscan.h"
#include "access/hash.h"
#include "storage/bufmgr.h"
#include "miscadmin.h"
#include "utils/memutils.h"
#include "storage/lmgr.h"
#include "access/genam.h"
#include <access/hash.h>
#include <storage/bufmgr.h>
#include <miscadmin.h>
#include <utils/memutils.h>
#include <storage/lmgr.h>
#include <access/genam.h>
#ifndef HAVE_MEMMOVE
# include
"regex/utils.h"
# include
<regex/utils.h>
#else
# include <string.h>
#endif
...
...
src/backend/access/hash/hashscan.c
View file @
4312192e
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashscan.c,v 1.
6 1996/11/03 12:34:41
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashscan.c,v 1.
7 1996/11/05 09:40:22
scrappy Exp $
*
* NOTES
* Because we can be doing an index scan on a relation while we
...
...
@@ -27,11 +27,9 @@
*-------------------------------------------------------------------------
*/
#include
"postgres.h"
#include
<postgres.h>
#include "access/relscan.h"
#include "access/hash.h"
#include "utils/palloc.h"
#include <access/hash.h>
static
void
_hash_scandel
(
IndexScanDesc
scan
,
BlockNumber
blkno
,
OffsetNumber
offno
);
static
bool
_hash_scantouched
(
IndexScanDesc
scan
,
BlockNumber
blkno
,
OffsetNumber
offno
);
...
...
src/backend/access/hash/hashsearch.c
View file @
4312192e
...
...
@@ -7,17 +7,15 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashsearch.c,v 1.
6 1996/11/03 12:34:42
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashsearch.c,v 1.
7 1996/11/05 09:40:23
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#include
"postgres.h"
#include
<postgres.h>
#include "access/relscan.h"
#include "access/hash.h"
#include "utils/palloc.h"
#include "storage/bufmgr.h"
#include <access/hash.h>
#include <storage/bufmgr.h>
#ifndef HAVE_MEMMOVE
# include "regex/utils.h"
...
...
src/backend/access/hash/hashstrat.c
View file @
4312192e
...
...
@@ -7,16 +7,15 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/Attic/hashstrat.c,v 1.
6 1996/11/03 12:34:4
4 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/access/hash/Attic/hashstrat.c,v 1.
7 1996/11/05 09:40:2
4 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#include
"postgres.h"
#include
<postgres.h>
#include "access/relscan.h"
#include "access/hash.h"
#include "access/istrat.h"
#include <access/hash.h>
#include <access/istrat.h>
/*
* only one valid strategy for hash tables: equality.
...
...
src/backend/access/hash/hashutil.c
View file @
4312192e
...
...
@@ -7,22 +7,20 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashutil.c,v 1.
6 1996/11/03 12:34:4
5 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashutil.c,v 1.
7 1996/11/05 09:40:2
5 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#include
"postgres.h"
#include
<postgres.h>
#include "access/relscan.h"
#include "access/hash.h"
#include "utils/palloc.h"
#include "fmgr.h"
#include "utils/memutils.h"
#include "access/iqual.h"
#include <access/hash.h>
#include <fmgr.h>
#include <utils/memutils.h>
#include <access/iqual.h>
#ifndef HAVE_MEMMOVE
# include
"regex/utils.h"
# include
<regex/utils.h>
#else
# include <string.h>
#endif
...
...
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