*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.73 1999/02/18 00:49:12 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.74 1999/02/22 19:55:42 momjian Exp $
*
*-------------------------------------------------------------------------
*/
* ----------------
*/
/*
- ** 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)
return newnode;
}
-/* ****************
- * parsenodes.h routines have no copy functions
- * ****************
+/*
+ * parsenodes.h routines have no copy functions
*/
static TargetEntry *
}
-/* ****************
- * mnodes.h routines have no copy functions
- * ****************
+/*
+ * mnodes.h routines have no copy functions
*/
/* ****************************************************************
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/nodes/Attic/freefuncs.c,v 1.13 1999/02/18 00:49:14 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/nodes/Attic/freefuncs.c,v 1.14 1999/02/22 19:55:42 momjian Exp $
*
*-------------------------------------------------------------------------
*/
pfree(node);
}
-/* ****************
- * parsenodes.h routines have no free functions
- * ****************
+/*
+ * parsenodes.h routines have no free functions
*/
static void
}
-/* ****************
- * mnodes.h routines have no free functions
- * ****************
+/*
+ * mnodes.h routines have no free functions
*/
/* ****************************************************************
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.38 1999/02/19 06:06:10 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.39 1999/02/22 19:55:43 momjian Exp $
*
* NOTES
* InitPostgres() is the function called from PostgresMain
}
/*
- * ********************************
- *
- *
- *
- * 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 */
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: relation.h,v 1.28 1999/02/20 19:02:43 momjian Exp $
+ * $Id: relation.h,v 1.29 1999/02/22 19:55:44 momjian Exp $
*
*-------------------------------------------------------------------------
*/
List *innerhashkeys;
} HashPath;
-/******
+/*
* Keys
- ******/
+ */
typedef struct OrderKey
{
Var *inner;
} JoinKey;
-/*******
+/*
* clause info
- *******/
+ */
typedef struct RestrictInfo
{
} 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