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
1e70c1fe
Commit
1e70c1fe
authored
Feb 22, 1999
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comments cleanup.
parent
7fe29ece
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
48 deletions
+39
-48
src/backend/nodes/copyfuncs.c
src/backend/nodes/copyfuncs.c
+8
-10
src/backend/nodes/freefuncs.c
src/backend/nodes/freefuncs.c
+5
-7
src/backend/utils/init/postinit.c
src/backend/utils/init/postinit.c
+3
-8
src/include/nodes/relation.h
src/include/nodes/relation.h
+23
-23
No files found.
src/backend/nodes/copyfuncs.c
View file @
1e70c1fe
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.7
3 1999/02/18 00:49:1
2 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.7
4 1999/02/22 19:55:4
2 momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1002,9 +1002,9 @@ _copyArrayRef(ArrayRef *from)
* ----------------
*/
/*
*
*
when you change this, also make sure to fix up xfunc_copyRelOptInfo in
*
*
planner/path/xfunc.c accordingly!!!
*
*
-- JMH, 8/2/93
*
when you change this, also make sure to fix up xfunc_copyRelOptInfo in
*
planner/path/xfunc.c accordingly!!!
* -- JMH, 8/2/93
*/
static
RelOptInfo
*
_copyRelOptInfo
(
RelOptInfo
*
from
)
...
...
@@ -1469,9 +1469,8 @@ _copyStream(Stream *from)
return
newnode
;
}
/* ****************
* parsenodes.h routines have no copy functions
* ****************
/*
* parsenodes.h routines have no copy functions
*/
static
TargetEntry
*
...
...
@@ -1604,9 +1603,8 @@ _copyQuery(Query *from)
}
/* ****************
* mnodes.h routines have no copy functions
* ****************
/*
* mnodes.h routines have no copy functions
*/
/* ****************************************************************
...
...
src/backend/nodes/freefuncs.c
View file @
1e70c1fe
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/nodes/Attic/freefuncs.c,v 1.1
3 1999/02/18 00:49:14
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/nodes/Attic/freefuncs.c,v 1.1
4 1999/02/22 19:55:42
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1045,9 +1045,8 @@ _freeStream(Stream *node)
pfree
(
node
);
}
/* ****************
* parsenodes.h routines have no free functions
* ****************
/*
* parsenodes.h routines have no free functions
*/
static
void
...
...
@@ -1134,9 +1133,8 @@ _freeQuery(Query *node)
}
/* ****************
* mnodes.h routines have no free functions
* ****************
/*
* mnodes.h routines have no free functions
*/
/* ****************************************************************
...
...
src/backend/utils/init/postinit.c
View file @
1e70c1fe
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.3
8 1999/02/19 06:06:10 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.3
9 1999/02/22 19:55:43 momjian
Exp $
*
* NOTES
* InitPostgres() is the function called from PostgresMain
...
...
@@ -515,19 +515,14 @@ InitPostgres(char *name) /* database name */
}
/*
* ********************************
*
*
*
* code after this point assumes we are in the proper directory!
* Code after this point assumes we are in the proper directory!
*
* So, how do we implement alternate locations for databases? There are
* two possible locations for tables and we need to look in
* DataDir/pg_database to find the true location of an individual
* database. We can brute-force it as done in InitMyDatabaseInfo(), or
* we can be patient and wait until we open pg_database gracefully.
* Will try that, but may not work... - thomas 1997-11-01 ********************************
*
* Will try that, but may not work... - thomas 1997-11-01
*/
/* Does not touch files (?) - thomas 1997-11-01 */
...
...
src/include/nodes/relation.h
View file @
1e70c1fe
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: relation.h,v 1.2
8 1999/02/20 19:02:43
momjian Exp $
* $Id: relation.h,v 1.2
9 1999/02/22 19:55:44
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -185,9 +185,9 @@ typedef struct HashPath
List
*
innerhashkeys
;
}
HashPath
;
/*
*****
/*
* Keys
*
*****
/
*/
typedef
struct
OrderKey
{
...
...
@@ -203,9 +203,9 @@ typedef struct JoinKey
Var
*
inner
;
}
JoinKey
;
/*
******
/*
* clause info
*
******
/
*/
typedef
struct
RestrictInfo
{
...
...
@@ -260,24 +260,24 @@ typedef struct Iter
}
Iter
;
/*
**
Stream:
**
A stream represents a root-to-leaf path in a plan tree (i.e. a tree of
**
JoinPaths and Paths). The stream includes pointers to all Path nodes,
**
as well as to any clauses that reside above Path nodes. This structure
**
is used to make Path nodes and clauses look similar, so that Predicate
**
Migration can run.
*
*
**
pathptr -- pointer to the current path node
**
cinfo -- if NULL, this stream node referes to the path node.
**
Otherwise this is a pointer to the current clause.
*
* clausetype -- whether cinfo is in loc_restrictinfo or pathinfo in the
**
path node
**
upstream -- linked list pointer upwards
*
* downstream -- ditto, downwards
**
groupup -- whether or not this node is in a group with the node upstream
**
groupcost -- total cost of the group that node is in
**
groupsel -- total selectivity of the group that node is in
*/
*
Stream:
*
A stream represents a root-to-leaf path in a plan tree (i.e. a tree of
*
JoinPaths and Paths). The stream includes pointers to all Path nodes,
*
as well as to any clauses that reside above Path nodes. This structure
*
is used to make Path nodes and clauses look similar, so that Predicate
*
Migration can run.
*
*
pathptr -- pointer to the current path node
*
cinfo -- if NULL, this stream node referes to the path node.
*
Otherwise this is a pointer to the current clause.
* clausetype -- whether cinfo is in loc_restrictinfo or pathinfo in the
*
path node
*
upstream -- linked list pointer upwards
* downstream -- ditto, downwards
*
groupup -- whether or not this node is in a group with the node upstream
*
groupcost -- total cost of the group that node is in
*
groupsel -- total selectivity of the group that node is in
*/
typedef
struct
Stream
*
StreamPtr
;
typedef
struct
Stream
...
...
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