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
86c2eadb
Commit
86c2eadb
authored
Mar 07, 1999
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify mcxt.h so that it doesn't pull in half of creation.
parent
dffb88b0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
7 deletions
+19
-7
src/backend/utils/hash/dynahash.c
src/backend/utils/hash/dynahash.c
+2
-1
src/include/nodes/memnodes.h
src/include/nodes/memnodes.h
+8
-4
src/include/utils/mcxt.h
src/include/utils/mcxt.h
+9
-2
No files found.
src/backend/utils/hash/dynahash.c
View file @
86c2eadb
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/hash/dynahash.c,v 1.2
0 1999/03/06 21:17:56
tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/hash/dynahash.c,v 1.2
1 1999/03/07 23: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,
...
...
src/include/nodes/memnodes.h
View file @
86c2eadb
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: memnodes.h,v 1.1
0 1999/02/13 23:21:38 momjian
Exp $
* $Id: memnodes.h,v 1.1
1 1999/03/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
MemoryContextData
*
PortalMemoryContext
;
typedef
struct
PortalVariableMemoryData
{
...
...
src/include/utils/mcxt.h
View file @
86c2eadb
...
...
@@ -6,14 +6,21 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: mcxt.h,v 1.1
2 1999/02/13 23:22:24 momjian
Exp $
* $Id: mcxt.h,v 1.1
3 1999/03/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
;
...
...
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