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
b847d297
Commit
b847d297
authored
Nov 15, 1996
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove PERFECT_MEM
Unallocate opaque.
parent
f8e02c19
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
12 deletions
+7
-12
src/backend/access/nbtree/nbtree.c
src/backend/access/nbtree/nbtree.c
+4
-8
src/backend/access/nbtree/nbtscan.c
src/backend/access/nbtree/nbtscan.c
+1
-3
src/backend/access/rtree/rtscan.c
src/backend/access/rtree/rtscan.c
+2
-1
No files found.
src/backend/access/nbtree/nbtree.c
View file @
b847d297
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.1
0 1996/11/13 20:47:18 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.1
1 1996/11/15 18:36:59 momjian
Exp $
*
* NOTES
* This file contains only the public interface routines.
...
...
@@ -277,7 +277,6 @@ btbuild(Relation heap,
}
}
/* be tidy */
pfree
(
nulls
);
pfree
(
attdata
);
...
...
@@ -468,13 +467,10 @@ btendscan(IndexScanDesc scan)
ItemPointerSetInvalid
(
iptr
);
}
/* don't need scan registered anymore */
_bt_dropscan
(
scan
);
/* be tidy */
pfree
(
scan
->
opaque
);
if
(
so
->
keyData
!=
(
ScanKey
)
NULL
)
pfree
(
so
->
keyData
);
pfree
(
scan
->
opaque
);
_bt_dropscan
(
scan
);
}
/*
...
...
src/backend/access/nbtree/nbtscan.c
View file @
b847d297
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtscan.c,v 1.
5 1996/11/05 10:35:33 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtscan.c,v 1.
6 1996/11/15 18:37:00 momjian
Exp $
*
*
* NOTES
...
...
@@ -78,9 +78,7 @@ _bt_dropscan(IndexScanDesc scan)
else
last
->
btsl_next
=
chk
->
btsl_next
;
#ifdef PERFECT_MEM
pfree
(
chk
);
#endif
/* PERFECT_MEM */
}
void
...
...
src/backend/access/rtree/rtscan.c
View file @
b847d297
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtscan.c,v 1.
8 1996/11/05 10:54:19 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtscan.c,v 1.
9 1996/11/15 18:37:10 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -223,6 +223,7 @@ rtendscan(IndexScanDesc s)
if
(
p
!=
(
RTreeScanOpaque
)
NULL
)
{
freestack
(
p
->
s_stack
);
freestack
(
p
->
s_markstk
);
pfree
(
s
->
opaque
);
}
rtdropscan
(
s
);
...
...
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