Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1e70c1f

Browse files
committed
comments cleanup.
1 parent7fe29ec commit1e70c1f

File tree

4 files changed

+39
-48
lines changed

4 files changed

+39
-48
lines changed

‎src/backend/nodes/copyfuncs.c

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.73 1999/02/18 00:49:12 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.74 1999/02/22 19:55:42 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1002,9 +1002,9 @@ _copyArrayRef(ArrayRef *from)
10021002
* ----------------
10031003
*/
10041004
/*
1005-
**when you change this, also make sure to fix up xfunc_copyRelOptInfo in
1006-
**planner/path/xfunc.c accordingly!!!
1007-
**-- JMH, 8/2/93
1005+
*when you change this, also make sure to fix up xfunc_copyRelOptInfo in
1006+
*planner/path/xfunc.c accordingly!!!
1007+
*-- JMH, 8/2/93
10081008
*/
10091009
staticRelOptInfo*
10101010
_copyRelOptInfo(RelOptInfo*from)
@@ -1469,9 +1469,8 @@ _copyStream(Stream *from)
14691469
returnnewnode;
14701470
}
14711471

1472-
/* ****************
1473-
* parsenodes.h routines have no copy functions
1474-
* ****************
1472+
/*
1473+
*parsenodes.h routines have no copy functions
14751474
*/
14761475

14771476
staticTargetEntry*
@@ -1604,9 +1603,8 @@ _copyQuery(Query *from)
16041603
}
16051604

16061605

1607-
/* ****************
1608-
* mnodes.h routines have no copy functions
1609-
* ****************
1606+
/*
1607+
*mnodes.h routines have no copy functions
16101608
*/
16111609

16121610
/* ****************************************************************

‎src/backend/nodes/freefuncs.c

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/nodes/Attic/freefuncs.c,v 1.13 1999/02/18 00:49:14 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/nodes/Attic/freefuncs.c,v 1.14 1999/02/22 19:55:42 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1045,9 +1045,8 @@ _freeStream(Stream *node)
10451045
pfree(node);
10461046
}
10471047

1048-
/* ****************
1049-
* parsenodes.h routines have no free functions
1050-
* ****************
1048+
/*
1049+
*parsenodes.h routines have no free functions
10511050
*/
10521051

10531052
staticvoid
@@ -1134,9 +1133,8 @@ _freeQuery(Query *node)
11341133
}
11351134

11361135

1137-
/* ****************
1138-
* mnodes.h routines have no free functions
1139-
* ****************
1136+
/*
1137+
*mnodes.h routines have no free functions
11401138
*/
11411139

11421140
/* ****************************************************************

‎src/backend/utils/init/postinit.c

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.38 1999/02/19 06:06:10 tgl Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.39 1999/02/22 19:55:43 momjian Exp $
1111
*
1212
* NOTES
1313
*InitPostgres() is the function called from PostgresMain
@@ -515,19 +515,14 @@ InitPostgres(char *name)/* database name */
515515
}
516516

517517
/*
518-
* ********************************
519-
*
520-
*
521-
*
522-
* code after this point assumes we are in the proper directory!
518+
* Code after this point assumes we are in the proper directory!
523519
*
524520
* So, how do we implement alternate locations for databases? There are
525521
* two possible locations for tables and we need to look in
526522
* DataDir/pg_database to find the true location of an individual
527523
* database. We can brute-force it as done in InitMyDatabaseInfo(), or
528524
* we can be patient and wait until we open pg_database gracefully.
529-
* Will try that, but may not work... - thomas 1997-11-01 ********************************
530-
*
525+
* Will try that, but may not work... - thomas 1997-11-01
531526
*/
532527

533528
/* Does not touch files (?) - thomas 1997-11-01 */

‎src/include/nodes/relation.h

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: relation.h,v 1.28 1999/02/20 19:02:43 momjian Exp $
9+
* $Id: relation.h,v 1.29 1999/02/22 19:55:44 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -185,9 +185,9 @@ typedef struct HashPath
185185
List*innerhashkeys;
186186
}HashPath;
187187

188-
/******
188+
/*
189189
* Keys
190-
******/
190+
*/
191191

192192
typedefstructOrderKey
193193
{
@@ -203,9 +203,9 @@ typedef struct JoinKey
203203
Var*inner;
204204
}JoinKey;
205205

206-
/*******
206+
/*
207207
* clause info
208-
*******/
208+
*/
209209

210210
typedefstructRestrictInfo
211211
{
@@ -260,24 +260,24 @@ typedef struct Iter
260260
}Iter;
261261

262262
/*
263-
** Stream:
264-
**A stream represents a root-to-leaf path in a plan tree (i.e. a tree of
265-
**JoinPaths and Paths). The stream includes pointers to all Path nodes,
266-
**as well as to any clauses that reside above Path nodes.This structure
267-
**is used to make Path nodes and clauses look similar, so that Predicate
268-
**Migration can run.
269-
**
270-
**pathptr -- pointer to the current path node
271-
**cinfo -- if NULL, this stream node referes to the path node.
272-
** Otherwise this is a pointer to the current clause.
273-
**clausetype -- whether cinfo is in loc_restrictinfo or pathinfo in the
274-
** path node
275-
**upstream -- linked list pointer upwards
276-
**downstream -- ditto, downwards
277-
**groupup -- whether or not this node is in a group with the node upstream
278-
**groupcost -- total cost of the group that node is in
279-
**groupsel -- total selectivity of the group that node is in
280-
*/
263+
* Stream:
264+
*A stream represents a root-to-leaf path in a plan tree (i.e. a tree of
265+
*JoinPaths and Paths). The stream includes pointers to all Path nodes,
266+
*as well as to any clauses that reside above Path nodes.This structure
267+
*is used to make Path nodes and clauses look similar, so that Predicate
268+
*Migration can run.
269+
*
270+
*pathptr -- pointer to the current path node
271+
*cinfo -- if NULL, this stream node referes to the path node.
272+
* Otherwise this is a pointer to the current clause.
273+
*clausetype -- whether cinfo is in loc_restrictinfo or pathinfo in the
274+
* path node
275+
*upstream -- linked list pointer upwards
276+
*downstream -- ditto, downwards
277+
*groupup -- whether or not this node is in a group with the node upstream
278+
*groupcost -- total cost of the group that node is in
279+
*groupsel -- total selectivity of the group that node is in
280+
*/
281281
typedefstructStream*StreamPtr;
282282

283283
typedefstructStream

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp