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
0f864a63
Commit
0f864a63
authored
Dec 12, 2008
by
Alvaro Herrera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce some rel.h inclusions, and add pg_list.h to pg_proc_fn.h.
parent
192dd845
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
12 deletions
+18
-12
src/include/access/visibilitymap.h
src/include/access/visibilitymap.h
+2
-2
src/include/catalog/pg_proc_fn.h
src/include/catalog/pg_proc_fn.h
+3
-1
src/include/catalog/storage.h
src/include/catalog/storage.h
+4
-2
src/include/storage/freespace.h
src/include/storage/freespace.h
+5
-4
src/include/storage/indexfsm.h
src/include/storage/indexfsm.h
+4
-3
No files found.
src/include/access/visibilitymap.h
View file @
0f864a63
...
...
@@ -7,14 +7,14 @@
* Portions Copyright (c) 2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/access/visibilitymap.h,v 1.
1 2008/12/03 13:05:22 heikki
Exp $
* $PostgreSQL: pgsql/src/include/access/visibilitymap.h,v 1.
2 2008/12/12 22:56:00 alvherre
Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef VISIBILITYMAP_H
#define VISIBILITYMAP_H
#include "utils/rel.h"
#include "utils/rel
cache
.h"
#include "storage/buf.h"
#include "storage/itemptr.h"
#include "access/xlogdefs.h"
...
...
src/include/catalog/pg_proc_fn.h
View file @
0f864a63
...
...
@@ -7,13 +7,15 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/catalog/pg_proc_fn.h,v 1.
2 2008/12/04 17:51:27 pete
re Exp $
* $PostgreSQL: pgsql/src/include/catalog/pg_proc_fn.h,v 1.
3 2008/12/12 22:56:00 alvher
re Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PG_PROC_FN_H
#define PG_PROC_FN_H
#include "nodes/pg_list.h"
extern
Oid
ProcedureCreate
(
const
char
*
procedureName
,
Oid
procNamespace
,
bool
replace
,
...
...
src/include/catalog/storage.h
View file @
0f864a63
...
...
@@ -7,16 +7,18 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/catalog/storage.h,v 1.
1 2008/11/19 10:34:52 heikki
Exp $
* $PostgreSQL: pgsql/src/include/catalog/storage.h,v 1.
2 2008/12/12 22:56:00 alvherre
Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef STORAGE_H
#define STORAGE_H
#include "access/xlog.h"
#include "lib/stringinfo.h"
#include "storage/block.h"
#include "storage/relfilenode.h"
#include "utils/rel.h"
#include "utils/rel
cache
.h"
extern
void
RelationCreateStorage
(
RelFileNode
rnode
,
bool
istemp
);
extern
void
RelationDropStorage
(
Relation
rel
);
...
...
src/include/storage/freespace.h
View file @
0f864a63
...
...
@@ -7,16 +7,17 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/storage/freespace.h,v 1.3
1 2008/11/19 10:34:52 heikki
Exp $
* $PostgreSQL: pgsql/src/include/storage/freespace.h,v 1.3
2 2008/12/12 22:56:00 alvherre
Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef FREESPACE_H_
#define FREESPACE_H_
#include "
utils/rel
.h"
#include "
storage/block
.h"
#include "storage/bufpage.h"
#include "access/xlog.h"
#include "storage/relfilenode.h"
#include "utils/relcache.h"
/* prototypes for public functions in freespace.c */
extern
Size
GetRecordedFreeSpace
(
Relation
rel
,
BlockNumber
heapBlk
);
...
...
@@ -33,4 +34,4 @@ extern void XLogRecordPageWithFreeSpace(RelFileNode rnode, BlockNumber heapBlk,
extern
void
FreeSpaceMapTruncateRel
(
Relation
rel
,
BlockNumber
nblocks
);
extern
void
FreeSpaceMapVacuum
(
Relation
rel
);
#endif
/* FREESPACE_H */
#endif
/* FREESPACE_H
_
*/
src/include/storage/indexfsm.h
View file @
0f864a63
...
...
@@ -7,14 +7,15 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/storage/indexfsm.h,v 1.
3 2008/11/19 10:34:52 heikki
Exp $
* $PostgreSQL: pgsql/src/include/storage/indexfsm.h,v 1.
4 2008/12/12 22:56:00 alvherre
Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef INDEXFSM_H_
#define INDEXFSM_H_
#include "utils/rel.h"
#include "storage/block.h"
#include "utils/relcache.h"
extern
BlockNumber
GetFreeIndexPage
(
Relation
rel
);
extern
void
RecordFreeIndexPage
(
Relation
rel
,
BlockNumber
page
);
...
...
@@ -22,4 +23,4 @@ extern void RecordUsedIndexPage(Relation rel, BlockNumber page);
extern
void
IndexFreeSpaceMapVacuum
(
Relation
rel
);
#endif
/* INDEXFSM_H */
#endif
/* INDEXFSM_H
_
*/
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