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
11ac1bf2
Commit
11ac1bf2
authored
Aug 20, 1997
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More NOT_USEDs
parent
36c9c968
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
34 additions
and
47 deletions
+34
-47
src/backend/access/nbtree/nbtinsert.c
src/backend/access/nbtree/nbtinsert.c
+2
-5
src/backend/executor/execUtils.c
src/backend/executor/execUtils.c
+2
-2
src/backend/executor/nodeMaterial.c
src/backend/executor/nodeMaterial.c
+2
-2
src/backend/optimizer/prep/prepqual.c
src/backend/optimizer/prep/prepqual.c
+2
-2
src/backend/optimizer/util/internal.c
src/backend/optimizer/util/internal.c
+2
-2
src/backend/optimizer/util/tlist.c
src/backend/optimizer/util/tlist.c
+2
-2
src/backend/utils/cache/relcache.c
src/backend/utils/cache/relcache.c
+19
-24
src/include/parser/parse_query.h
src/include/parser/parse_query.h
+1
-6
src/include/utils/memutils.h
src/include/utils/memutils.h
+2
-2
No files found.
src/backend/access/nbtree/nbtinsert.c
View file @
11ac1bf2
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.1
6 1997/06/10 07:28:47 vadim
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.1
7 1997/08/20 14:53:15 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -35,9 +35,6 @@ static OffsetNumber _bt_pgaddtup(Relation rel, Buffer buf, int keysz, ScanKey it
static
bool
_bt_goesonpg
(
Relation
rel
,
Buffer
buf
,
Size
keysz
,
ScanKey
scankey
,
BTItem
afteritem
);
static
void
_bt_updateitem
(
Relation
rel
,
Size
keysz
,
Buffer
buf
,
BTItem
oldItem
,
BTItem
newItem
);
static
bool
_bt_isequal
(
TupleDesc
itupdesc
,
Page
page
,
OffsetNumber
offnum
,
int
keysz
,
ScanKey
scankey
);
#if 0
static InsertIndexResult _bt_shift (Relation rel, Buffer buf, BTStack stack, int keysz, ScanKey scankey, BTItem btitem, BTItem hikey);
#endif
/*
* _bt_doinsert() -- Handle insertion of a single btitem in the tree.
...
...
@@ -1449,7 +1446,7 @@ _bt_isequal (TupleDesc itupdesc, Page page, OffsetNumber offnum,
return
(
true
);
}
#if
0
#if
def NOT_USED
/*
* _bt_shift - insert btitem on the passed page after shifting page
* to the right in the tree.
...
...
src/backend/executor/execUtils.c
View file @
11ac1bf2
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.1
1 1997/08/19 21:31:06
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.1
2 1997/08/20 14:53:20
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -467,7 +467,7 @@ ExecAssignScanTypeFromOuterPlan(Plan *node, CommonScanState *csstate)
* to share common code.
* ----------------
*/
#if
0
#if
def NOT_USED
void
ExecSetTypeInfo
(
int
index
,
TupleDesc
typeInfo
,
...
...
src/backend/executor/nodeMaterial.c
View file @
11ac1bf2
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeMaterial.c,v 1.
5 1996/11/08 00:45:58 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeMaterial.c,v 1.
6 1997/08/20 14:53:24 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -336,7 +336,7 @@ ExecEndMaterial(Material *node)
ExecClearTuple
(
matstate
->
csstate
.
css_ScanTupleSlot
);
}
#if
0
/* not used */
#if
def NOT_USED
/* not used */
/* ----------------------------------------------------------------
* ExecMaterialMarkPos
* ----------------------------------------------------------------
...
...
src/backend/optimizer/prep/prepqual.c
View file @
11ac1bf2
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/prep/prepqual.c,v 1.
2 1996/10/31 10:59:27 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/prep/prepqual.c,v 1.
3 1997/08/20 14:53:30 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -543,7 +543,7 @@ remove_ands(Expr *qual)
* are referenced in the target list.
*
*/
#if
0
#if
def NOT_USED
static
List
*
update_relations
(
List
*
tlist
)
{
...
...
src/backend/optimizer/util/internal.c
View file @
11ac1bf2
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/Attic/internal.c,v 1.
2 1996/10/31 10:59:39 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/Attic/internal.c,v 1.
3 1997/08/20 14:53:37 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -31,7 +31,7 @@
#include "nodes/primnodes.h"
#include "utils/palloc.h"
#if
0
#if
def NOT_USED
/*****************************************************************************
*
*****************************************************************************/
...
...
src/backend/optimizer/util/tlist.c
View file @
11ac1bf2
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/tlist.c,v 1.
3 1997/08/19 21:32:08
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/tlist.c,v 1.
4 1997/08/20 14:53:47
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -532,7 +532,7 @@ get_expr(TargetEntry *tle)
* append the group attribute to the target list if it's not already
* in there.
*/
#if
0
#if
def NOT_USED
void
AddGroupAttrToTlist
(
List
*
tlist
,
List
*
grpCl
)
{
...
...
src/backend/utils/cache/relcache.c
View file @
11ac1bf2
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.1
5 1997/08/19 21:35:13
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.1
6 1997/08/20 14:54:07
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -90,6 +90,22 @@ static void RelationFlushRelation(Relation *relationPtr,
static
Relation
RelationNameCacheGetRelation
(
char
*
relationName
);
static
void
init_irels
(
void
);
static
void
write_irels
(
void
);
/* non-export function prototypes */
static
void
formrdesc
(
char
*
relationName
,
u_int
natts
,
FormData_pg_attribute
att
[]);
static
HeapTuple
ScanPgRelation
(
RelationBuildDescInfo
buildinfo
);
static
HeapTuple
scan_pg_rel_seq
(
RelationBuildDescInfo
buildinfo
);
static
HeapTuple
scan_pg_rel_ind
(
RelationBuildDescInfo
buildinfo
);
static
Relation
AllocateRelationDesc
(
u_int
natts
,
Form_pg_class
relp
);
static
void
RelationBuildTupleDesc
(
RelationBuildDescInfo
buildinfo
,
Relation
relation
,
AttributeTupleForm
attp
,
u_int
natts
);
static
void
build_tupdesc_seq
(
RelationBuildDescInfo
buildinfo
,
Relation
relation
,
AttributeTupleForm
attp
,
u_int
natts
);
static
void
build_tupdesc_ind
(
RelationBuildDescInfo
buildinfo
,
Relation
relation
,
AttributeTupleForm
attp
,
u_int
natts
);
static
Relation
RelationBuildDesc
(
RelationBuildDescInfo
buildinfo
);
static
void
IndexedAccessMethodInitialize
(
Relation
relation
);
/* ----------------
* defines
...
...
@@ -238,27 +254,6 @@ typedef struct relnamecacheent {
} \
}
/* non-export function prototypes */
static
void
formrdesc
(
char
*
relationName
,
u_int
natts
,
FormData_pg_attribute
att
[]);
#if 0 /* See comments at line 1304 */
static void RelationFlushIndexes(Relation *r, Oid accessMethodId);
#endif
static
HeapTuple
ScanPgRelation
(
RelationBuildDescInfo
buildinfo
);
static
HeapTuple
scan_pg_rel_seq
(
RelationBuildDescInfo
buildinfo
);
static
HeapTuple
scan_pg_rel_ind
(
RelationBuildDescInfo
buildinfo
);
static
Relation
AllocateRelationDesc
(
u_int
natts
,
Form_pg_class
relp
);
static
void
RelationBuildTupleDesc
(
RelationBuildDescInfo
buildinfo
,
Relation
relation
,
AttributeTupleForm
attp
,
u_int
natts
);
static
void
build_tupdesc_seq
(
RelationBuildDescInfo
buildinfo
,
Relation
relation
,
AttributeTupleForm
attp
,
u_int
natts
);
static
void
build_tupdesc_ind
(
RelationBuildDescInfo
buildinfo
,
Relation
relation
,
AttributeTupleForm
attp
,
u_int
natts
);
static
Relation
RelationBuildDesc
(
RelationBuildDescInfo
buildinfo
);
static
void
IndexedAccessMethodInitialize
(
Relation
relation
);
/*
* newlyCreatedRelns -
* relations created during this transaction. We need to keep track of
...
...
@@ -273,7 +268,7 @@ static List *newlyCreatedRelns = NULL;
*/
#if
0
/* XXX This doesn't seem to be used anywhere */
#if
def NOT_USED
/* XXX This doesn't seem to be used anywhere */
/* --------------------------------
* BuildDescInfoError returns a string appropriate to
* the buildinfo passed to it
...
...
@@ -1351,7 +1346,7 @@ RelationIdInvalidateRelationCacheByRelationId(Oid relationId)
}
}
#if
0
/* See comments at line 1304 */
#if
def NOT_USED
/* See comments at line 1304 */
/* --------------------------------
* RelationIdInvalidateRelationCacheByAccessMethodId
*
...
...
src/include/parser/parse_query.h
View file @
11ac1bf2
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: parse_query.h,v 1.
8 1997/08/19 21:39:37
momjian Exp $
* $Id: parse_query.h,v 1.
9 1997/08/20 14:54:26
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -58,11 +58,6 @@ extern void handleTargetColname(ParseState *pstate, char **resname,
* analyze.c
*/
#if 0
extern List *p_rtable;
extern int NumLevels;
#endif
Oid
exprType
(
Node
*
expr
);
QueryTreeList
*
parse_analyze
(
List
*
querytree_list
);
...
...
src/include/utils/memutils.h
View file @
11ac1bf2
...
...
@@ -15,7 +15,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: memutils.h,v 1.
7 1997/08/19 21:40:43
momjian Exp $
* $Id: memutils.h,v 1.
8 1997/08/20 14:54:35
momjian Exp $
*
* NOTES
* some of the information in this file will be moved to
...
...
@@ -27,7 +27,7 @@
#define MEMUTILS_H
#if
0
#if
def NOT_USED
/*****************************************************************************
* align.h - alignment macros *
****************************************************************************
...
...
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