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
d2125805
Commit
d2125805
authored
Nov 05, 1996
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Another directory totally cleaned out
parent
abf578ac
Changes
16
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
51 additions
and
66 deletions
+51
-66
src/include/storage/backendid.h
src/include/storage/backendid.h
+1
-2
src/include/storage/buf_internals.h
src/include/storage/buf_internals.h
+3
-8
src/include/storage/bufmgr.h
src/include/storage/bufmgr.h
+6
-5
src/include/storage/bufpage.h
src/include/storage/bufpage.h
+6
-6
src/include/storage/itempos.h
src/include/storage/itempos.h
+3
-3
src/include/storage/large_object.h
src/include/storage/large_object.h
+4
-3
src/include/storage/lmgr.h
src/include/storage/lmgr.h
+3
-5
src/include/storage/lock.h
src/include/storage/lock.h
+3
-6
src/include/storage/multilev.h
src/include/storage/multilev.h
+2
-3
src/include/storage/pagenum.h
src/include/storage/pagenum.h
+1
-2
src/include/storage/proc.h
src/include/storage/proc.h
+3
-6
src/include/storage/shmem.h
src/include/storage/shmem.h
+4
-3
src/include/storage/sinval.h
src/include/storage/sinval.h
+3
-5
src/include/storage/sinvaladt.h
src/include/storage/sinvaladt.h
+3
-4
src/include/storage/smgr.h
src/include/storage/smgr.h
+4
-3
src/include/storage/spin.h
src/include/storage/spin.h
+2
-2
No files found.
src/include/storage/backendid.h
View file @
d2125805
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: backendid.h,v 1.
1 1996/08/28 01:57:54
scrappy Exp $
* $Id: backendid.h,v 1.
2 1996/11/05 06:10:52
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -14,7 +14,6 @@
#define BACKENDID_H
/* ----------------
* pulled out of sinval.h to temporarily reduce #include nesting.
* -cim 8/17/90
* ----------------
*/
...
...
src/include/storage/buf_internals.h
View file @
d2125805
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: buf_internals.h,v 1.
4 1996/11/04 04:00:24 momjian
Exp $
* $Id: buf_internals.h,v 1.
5 1996/11/05 06:10:53 scrappy
Exp $
*
* NOTE
* If BUFFERPAGE0 is defined, then 0 will be used as a
...
...
@@ -17,13 +17,8 @@
#ifndef BUFMGR_INTERNALS_H
#define BUFMGR_INTERNALS_H
#include "storage/buf.h"
#include "storage/ipc.h"
#include "storage/shmem.h"
#include "miscadmin.h"
#include "storage/lmgr.h"
#include "utils/rel.h"
#include "utils/relcache.h"
#include <storage/lmgr.h>
#include <storage/buf.h>
/* Buf Mgr constants */
/* in bufmgr.c */
...
...
src/include/storage/bufmgr.h
View file @
d2125805
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: bufmgr.h,v 1.
6 1996/11/03 12:13:10
scrappy Exp $
* $Id: bufmgr.h,v 1.
7 1996/11/05 06:10:54
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -14,10 +14,11 @@
#define BUFMGR_H
#include <stdio.h>
#include "storage/block.h"
#include "storage/buf.h"
#include "storage/ipc.h"
#include "utils/rel.h"
#include <storage/ipc.h>
#include <storage/block.h>
#include <storage/buf.h>
#include <utils/rel.h>
/*
* the maximum size of a disk block for any possible installation.
...
...
src/include/storage/bufpage.h
View file @
d2125805
...
...
@@ -6,18 +6,18 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: bufpage.h,v 1.
6 1996/11/01 09:31:09
scrappy Exp $
* $Id: bufpage.h,v 1.
7 1996/11/05 06:10:57
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef BUFPAGE_H
#define BUFPAGE_H
#include
"storage/item.h"
#include
"storage/off.h"
#include
"storage/page.h"
#include
"storage/buf.h"
#include
"storage/itemid.h"
#include
<storage/off.h>
#include
<storage/itemid.h>
#include
<storage/item.h>
#include
<storage/buf.h>
#include
<storage/page.h>
/*
* a postgres disk page is an abstraction layered on top of a postgres
...
...
src/include/storage/itempos.h
View file @
d2125805
...
...
@@ -6,15 +6,15 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: itempos.h,v 1.
2 1996/10/31 09:49:50
scrappy Exp $
* $Id: itempos.h,v 1.
3 1996/11/05 06:10:58
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef ITEMPOS_H
#define ITEMPOS_H
#include
"storage/buf.h"
#include
"storage/itemid.h"
#include
<storage/itemid.h>
#include
<storage/buf.h>
typedef
struct
ItemSubpositionData
{
Buffer
op_db
;
...
...
src/include/storage/large_object.h
View file @
d2125805
...
...
@@ -7,15 +7,16 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: large_object.h,v 1.
2 1996/10/31 09:49:54
scrappy Exp $
* $Id: large_object.h,v 1.
3 1996/11/05 06:10:58
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef LARGE_OBJECT_H
#define LARGE_OBJECT_H
#include "utils/rel.h"
#include "access/relscan.h"
#include <sys/types.h>
#include <access/relscan.h>
/*
* This structure will eventually have lots more stuff associated with it.
...
...
src/include/storage/lmgr.h
View file @
d2125805
...
...
@@ -6,17 +6,15 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: lmgr.h,v 1.
2 1996/10/31 09:49:56
scrappy Exp $
* $Id: lmgr.h,v 1.
3 1996/11/05 06:10:59
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef LMGR_H
#define LMGR_H
#include "storage/itemptr.h"
#include "storage/lock.h"
#include "utils/rel.h"
#include <storage/lock.h>
#include <utils/rel.h>
/*
* This was moved from pladt.h for the new lock manager. Want to obsolete
...
...
src/include/storage/lock.h
View file @
d2125805
...
...
@@ -6,18 +6,15 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: lock.h,v 1.
2 1996/10/31 09:49:57
scrappy Exp $
* $Id: lock.h,v 1.
3 1996/11/05 06:11:00
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef LOCK_H_
#define LOCK_H_
#include "storage/itemptr.h"
#include "storage/shmem.h"
#include "storage/spin.h"
#include "storage/backendid.h"
#include "utils/hsearch.h"
#include <storage/shmem.h>
#include <storage/itemptr.h>
extern
SPINLOCK
LockMgrLock
;
typedef
int
MASK
;
...
...
src/include/storage/multilev.h
View file @
d2125805
...
...
@@ -7,15 +7,14 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: multilev.h,v 1.
1 1996/08/28 01:58:17
scrappy Exp $
* $Id: multilev.h,v 1.
2 1996/11/05 06:11:01
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef MULTILEV_H
#define MULTILEV_H
#include "storage/lock.h"
#include "storage/lmgr.h"
#include <storage/lmgr.h>
#define READ_LOCK 2
#define WRITE_LOCK 1
...
...
src/include/storage/pagenum.h
View file @
d2125805
...
...
@@ -6,14 +6,13 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: pagenum.h,v 1.
2 1996/10/31 09:50:00
scrappy Exp $
* $Id: pagenum.h,v 1.
3 1996/11/05 06:11:02
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PAGENUM_H
#define PAGENUM_H
#include "storage/page.h"
typedef
uint16
PageNumber
;
...
...
src/include/storage/proc.h
View file @
d2125805
...
...
@@ -6,23 +6,20 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: proc.h,v 1.
2 1996/10/31 05:57:45 momjian
Exp $
* $Id: proc.h,v 1.
3 1996/11/05 06:11:03 scrappy
Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef _PROC_H_
#define _PROC_H_
#include
"storage/ipc.h"
#include "storage/lock.h"
#include
<storage/lock.h>
#ifndef WIN32
#include <sys/ipc.h>
#include <sys/sem.h>
#else
/* This is because WIN32 already defines PROC */
#define PROC PGL_PROC
#endif
/* WIN32 */
#include "storage/shmem.h"
typedef
struct
{
...
...
src/include/storage/shmem.h
View file @
d2125805
...
...
@@ -6,15 +6,16 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: shmem.h,v 1.
1 1996/08/28 01:58:26
scrappy Exp $
* $Id: shmem.h,v 1.
2 1996/11/05 06:11:04
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef SHMEM_H
#define SHMEM_H
#include "storage/spin.h"
/* for SPINLOCK */
#include "utils/hsearch.h"
/* for HTAB */
#include <utils/hsearch.h>
#include <storage/spin.h>
/* The shared memory region can start at a different address
* in every process. Shared memory "pointers" are actually
...
...
src/include/storage/sinval.h
View file @
d2125805
...
...
@@ -6,17 +6,15 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: sinval.h,v 1.
2 1996/10/31 09:50:06
scrappy Exp $
* $Id: sinval.h,v 1.
3 1996/11/05 06:11:05
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef SINVAL_H
#define SINVAL_H
#include "storage/spin.h"
#include "storage/ipc.h"
#include "storage/itemptr.h"
#include "storage/backendid.h"
#include <storage/itemptr.h>
#include <storage/spin.h>
extern
SPINLOCK
SInvalLock
;
...
...
src/include/storage/sinvaladt.h
View file @
d2125805
...
...
@@ -6,16 +6,15 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: sinvaladt.h,v 1.
2 1996/10/31 09:50:07
scrappy Exp $
* $Id: sinvaladt.h,v 1.
3 1996/11/05 06:11:06
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef SINVALADT_H
#define SINVALADT_H
#include "storage/ipc.h"
#include "storage/itemptr.h"
#include "storage/sinval.h"
#include <storage/itemptr.h>
#include <storage/ipc.h>
/*
* The structure of the shared cache invaidation segment
...
...
src/include/storage/smgr.h
View file @
d2125805
...
...
@@ -6,15 +6,16 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: smgr.h,v 1.
1 1996/08/28 01:58:32
scrappy Exp $
* $Id: smgr.h,v 1.
2 1996/11/05 06:11:07
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef SMGR_H
#define SMGR_H
#include "utils/rel.h"
#include "storage/spin.h"
/* for SPINLOCK */
#include <storage/spin.h>
#include <storage/block.h>
#include <utils/rel.h>
#define SM_FAIL 0
#define SM_SUCCESS 1
...
...
src/include/storage/spin.h
View file @
d2125805
...
...
@@ -6,14 +6,14 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: spin.h,v 1.
1 1996/08/28 01:58:33
scrappy Exp $
* $Id: spin.h,v 1.
2 1996/11/05 06:11:08
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef SPIN_H
#define SPIN_H
#include
"ipc.h"
#include
<storage/ipc.h>
/*
* two implementations of spin locks
...
...
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