Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
86c2eadb
Commit
86c2eadb
authored
26 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Modify mcxt.h so that it doesn't pull in half of creation.
parent
dffb88b0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/backend/utils/hash/dynahash.c
+2
-1
2 additions, 1 deletion
src/backend/utils/hash/dynahash.c
src/include/nodes/memnodes.h
+8
-4
8 additions, 4 deletions
src/include/nodes/memnodes.h
src/include/utils/mcxt.h
+9
-2
9 additions, 2 deletions
src/include/utils/mcxt.h
with
19 additions
and
7 deletions
src/backend/utils/hash/dynahash.c
+
2
−
1
View file @
86c2eadb
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/hash/dynahash.c,v 1.2
0
1999/03/0
6
2
1:17:56
tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/hash/dynahash.c,v 1.2
1
1999/03/0
7
2
3:03:32
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -49,6 +49,7 @@
#include
"utils/mcxt.h"
#endif
/* !FRONTEND */
#include
"utils/palloc.h"
#include
"utils/memutils.h"
/*
* Fast arithmetic, relying on powers of 2,
...
...
This diff is collapsed.
Click to expand it.
src/include/nodes/memnodes.h
+
8
−
4
View file @
86c2eadb
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: memnodes.h,v 1.1
0
1999/0
2/13 23:21:38 momjian
Exp $
* $Id: memnodes.h,v 1.1
1
1999/0
3/07 23:03:31 tgl
Exp $
*
* XXX the typedefs in this file are different from the other ???nodes.h;
* they are pointers to structures instead of the structures themselves.
...
...
@@ -60,7 +60,9 @@ typedef struct MemoryContextData
{
NodeTag
type
;
MemoryContextMethods
method
;
}
*
MemoryContext
;
}
MemoryContextData
;
/* utils/mcxt.h contains typedef struct MemoryContextData *MemoryContext */
/* think about doing this right some time but we'll have explicit fields
for now -ay 10/94 */
...
...
@@ -71,9 +73,11 @@ typedef struct GlobalMemoryData
AllocSetData
setData
;
char
*
name
;
OrderedElemData
elemData
;
}
*
GlobalMemory
;
}
GlobalMemoryData
;
/* utils/mcxt.h contains typedef struct GlobalMemoryData *GlobalMemory */
typedef
MemoryContext
*
PortalMemoryContext
;
typedef
struct
MemoryContext
Data
*
PortalMemoryContext
;
typedef
struct
PortalVariableMemoryData
{
...
...
This diff is collapsed.
Click to expand it.
src/include/utils/mcxt.h
+
9
−
2
View file @
86c2eadb
...
...
@@ -6,14 +6,21 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: mcxt.h,v 1.1
2
1999/0
2/13 23:22:24 momjian
Exp $
* $Id: mcxt.h,v 1.1
3
1999/0
3/07 23:03:31 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef MCXT_H
#define MCXT_H
#include
<nodes/memnodes.h>
/* These types are declared in nodes/memnodes.h, but most users of memory
* allocation should just treat them as abstract types, so we do not provide
* the struct contents here.
*/
typedef
struct
MemoryContextData
*
MemoryContext
;
typedef
struct
GlobalMemoryData
*
GlobalMemory
;
extern
MemoryContext
CurrentMemoryContext
;
extern
MemoryContext
TopMemoryContext
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment