1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-11 10:01:57 +03:00

Compile and warning cleanup

This commit is contained in:
Bruce Momjian
1996-11-08 06:02:30 +00:00
parent d79bb2fd0e
commit 4b2b8592a0
85 changed files with 342 additions and 228 deletions

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/allpaths.c,v 1.2 1996/11/06 09:29:03 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/allpaths.c,v 1.3 1996/11/08 05:56:52 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -255,7 +255,7 @@ print_path(Query *root, Path *path, int indent)
{
char *ptype = NULL;
JoinPath *jp;
bool join;
bool join = false;
int i;
for(i=0; i < indent; i++)

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.3 1996/09/10 06:48:12 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.4 1996/11/08 05:56:55 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -981,6 +981,7 @@ indexable_joinclauses(Rel *rel, Rel *index, List *joininfo_list)
* the list of clause info contains join clauses and restriction clauses.
* This routine returns the restriction clauses only.
*/
#ifdef NOT_USED
static List *
extract_restrict_clauses(List *clausegroup)
{
@ -996,6 +997,7 @@ extract_restrict_clauses(List *clausegroup)
}
return restrict_cls;
}
#endif
/*
* index-innerjoin--

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/Attic/prune.c,v 1.1.1.1 1996/07/09 06:21:36 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/Attic/prune.c,v 1.2 1996/11/08 05:57:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -95,7 +95,7 @@ prune_rel_paths(List *rel_list)
{
List *x = NIL;
List *y = NIL;
Path *path;
Path *path = NULL;
Rel *rel = (Rel*)NULL;
JoinPath *cheapest = (JoinPath*)NULL;

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.5 1996/11/06 09:29:10 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.6 1996/11/08 05:57:08 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -156,7 +156,7 @@ static Scan *
create_scan_node(Path *best_path, List *tlist)
{
Scan *node;
Scan *node = NULL ;
List *scan_clauses;
/*
@ -208,7 +208,7 @@ create_join_node(JoinPath *best_path, List *tlist)
Plan *inner_node;
List *inner_tlist;
List *clauses;
Join *retval;
Join *retval = NULL;
outer_node = create_plan((Path*)best_path->outerjoinpath);
outer_tlist = outer_node->targetlist;
@ -803,7 +803,7 @@ make_temp(List *tlist,
int temptype)
{
List *temp_tlist;
Temp *retval;
Temp *retval = NULL;
/* Create a new target list for the temporary, with keys set. */
temp_tlist = set_temp_tlist_operators(new_unsorted_tlist(tlist),