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
b99661c2
Commit
b99661c2
authored
Nov 23, 2017
by
Simon Riggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak code for older compilers
Attempt to quiesce build farm Author: Tomas Vondra
parent
a4ccc1ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/backend/utils/mmgr/generation.c
src/backend/utils/mmgr/generation.c
+4
-4
No files found.
src/backend/utils/mmgr/generation.c
View file @
b99661c2
...
@@ -92,20 +92,20 @@ typedef struct GenerationContext
...
@@ -92,20 +92,20 @@ typedef struct GenerationContext
* GenerationBloc is the header data for a block --- the usable space
* GenerationBloc is the header data for a block --- the usable space
* within the block begins at the next alignment boundary.
* within the block begins at the next alignment boundary.
*/
*/
typedef
struct
GenerationBlock
struct
GenerationBlock
{
{
dlist_node
node
;
/* doubly-linked list */
dlist_node
node
;
/* doubly-linked list */
int
nchunks
;
/* number of chunks in the block */
int
nchunks
;
/* number of chunks in the block */
int
nfree
;
/* number of free chunks */
int
nfree
;
/* number of free chunks */
char
*
freeptr
;
/* start of free space in this block */
char
*
freeptr
;
/* start of free space in this block */
char
*
endptr
;
/* end of space in this block */
char
*
endptr
;
/* end of space in this block */
}
GenerationBlock
;
};
/*
/*
* GenerationChunk
* GenerationChunk
* The prefix of each piece of memory in an GenerationBlock
* The prefix of each piece of memory in an GenerationBlock
*/
*/
typedef
struct
GenerationChunk
struct
GenerationChunk
{
{
/* block owning this chunk */
/* block owning this chunk */
void
*
block
;
void
*
block
;
...
@@ -120,7 +120,7 @@ typedef struct GenerationChunk
...
@@ -120,7 +120,7 @@ typedef struct GenerationChunk
GenerationContext
*
context
;
/* owning context */
GenerationContext
*
context
;
/* owning context */
/* there must not be any padding to reach a MAXALIGN boundary here! */
/* there must not be any padding to reach a MAXALIGN boundary here! */
}
GenerationChunk
;
};
/*
/*
...
...
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