diff options
| author | Bruce Momjian | 2001-11-05 17:46:40 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2001-11-05 17:46:40 +0000 |
| commit | ea08e6cd5542cb269ecd3e735f1dfa3bb61fbc4f (patch) | |
| tree | bf6b60c08be3ddf5a40e110e8276dc2d45b1431c /src/include/optimizer | |
| parent | 34153b205265e2e831c1e3ee02be0fc88fa41710 (diff) | |
New pgindent run with fixes suggested by Tom. Patch manually reviewed,
initdb/regression tests pass.
Diffstat (limited to 'src/include/optimizer')
23 files changed, 45 insertions, 45 deletions
diff --git a/src/include/optimizer/_deadcode/xfunc.h b/src/include/optimizer/_deadcode/xfunc.h index 039528dc29f..6c70d214959 100644 --- a/src/include/optimizer/_deadcode/xfunc.h +++ b/src/include/optimizer/_deadcode/xfunc.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: xfunc.h,v 1.7 2001/10/28 06:26:08 momjian Exp $ + * $Id: xfunc.h,v 1.8 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -80,4 +80,4 @@ extern bool xfunc_copyrel(RelOptInfo *from, RelOptInfo **to); */ extern bool xfunc_do_predmig(Path root); -#endif /* XFUNC_H */ +#endif /* XFUNC_H */ diff --git a/src/include/optimizer/clauses.h b/src/include/optimizer/clauses.h index da8429ca094..49272e3e7c3 100644 --- a/src/include/optimizer/clauses.h +++ b/src/include/optimizer/clauses.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: clauses.h,v 1.48 2001/10/30 19:58:58 tgl Exp $ + * $Id: clauses.h,v 1.49 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -72,4 +72,4 @@ extern void query_tree_mutator(Query *query, Node *(*mutator) (), IsA(clause, Expr) && \ ((Expr *) (clause))->opType == SUBPLAN_EXPR) -#endif /* CLAUSES_H */ +#endif /* CLAUSES_H */ diff --git a/src/include/optimizer/cost.h b/src/include/optimizer/cost.h index 46093694b14..7c4c22a5959 100644 --- a/src/include/optimizer/cost.h +++ b/src/include/optimizer/cost.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: cost.h,v 1.42 2001/10/28 06:26:07 momjian Exp $ + * $Id: cost.h,v 1.43 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -95,4 +95,4 @@ extern Selectivity clause_selectivity(Query *root, Node *clause, int varRelid); -#endif /* COST_H */ +#endif /* COST_H */ diff --git a/src/include/optimizer/geqo.h b/src/include/optimizer/geqo.h index bf834d439e9..4d6b4e54f1b 100644 --- a/src/include/optimizer/geqo.h +++ b/src/include/optimizer/geqo.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: geqo.h,v 1.26 2001/10/28 06:26:07 momjian Exp $ + * $Id: geqo.h,v 1.27 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -77,4 +77,4 @@ extern RelOptInfo *gimme_tree(Query *root, List *initial_rels, Gene *tour, int num_gene, int rel_count, RelOptInfo *old_rel); -#endif /* GEQO_H */ +#endif /* GEQO_H */ diff --git a/src/include/optimizer/geqo_copy.h b/src/include/optimizer/geqo_copy.h index f9cff6bf667..2814fcb36b9 100644 --- a/src/include/optimizer/geqo_copy.h +++ b/src/include/optimizer/geqo_copy.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: geqo_copy.h,v 1.11 2001/10/28 06:26:07 momjian Exp $ + * $Id: geqo_copy.h,v 1.12 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -26,4 +26,4 @@ extern void geqo_copy(Chromosome *chromo1, Chromosome *chromo2, int string_length); -#endif /* GEQO_COPY_H */ +#endif /* GEQO_COPY_H */ diff --git a/src/include/optimizer/geqo_gene.h b/src/include/optimizer/geqo_gene.h index 06194d99ca3..a811fd692d8 100644 --- a/src/include/optimizer/geqo_gene.h +++ b/src/include/optimizer/geqo_gene.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: geqo_gene.h,v 1.12 2001/10/28 06:26:07 momjian Exp $ + * $Id: geqo_gene.h,v 1.13 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -42,4 +42,4 @@ typedef struct Pool int string_length; } Pool; -#endif /* GEQO_GENE_H */ +#endif /* GEQO_GENE_H */ diff --git a/src/include/optimizer/geqo_misc.h b/src/include/optimizer/geqo_misc.h index d04f4a5d88a..6f489009915 100644 --- a/src/include/optimizer/geqo_misc.h +++ b/src/include/optimizer/geqo_misc.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: geqo_misc.h,v 1.17 2001/10/28 06:26:07 momjian Exp $ + * $Id: geqo_misc.h,v 1.18 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -33,4 +33,4 @@ extern void geqo_print_rel(Query *root, RelOptInfo *rel); extern void geqo_print_path(Query *root, Path *path, int indent); extern void geqo_print_joinclauses(Query *root, List *clauses); -#endif /* GEQO_MISC_H */ +#endif /* GEQO_MISC_H */ diff --git a/src/include/optimizer/geqo_mutation.h b/src/include/optimizer/geqo_mutation.h index 6754ea95209..d04826d1857 100644 --- a/src/include/optimizer/geqo_mutation.h +++ b/src/include/optimizer/geqo_mutation.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: geqo_mutation.h,v 1.11 2001/10/28 06:26:07 momjian Exp $ + * $Id: geqo_mutation.h,v 1.12 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -26,4 +26,4 @@ extern void geqo_mutation(Gene *tour, int num_gene); -#endif /* GEQO_MUTATION_H */ +#endif /* GEQO_MUTATION_H */ diff --git a/src/include/optimizer/geqo_pool.h b/src/include/optimizer/geqo_pool.h index b2eb4cb2415..2d1d8d17a88 100644 --- a/src/include/optimizer/geqo_pool.h +++ b/src/include/optimizer/geqo_pool.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: geqo_pool.h,v 1.14 2001/10/28 06:26:07 momjian Exp $ + * $Id: geqo_pool.h,v 1.15 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -38,4 +38,4 @@ extern void spread_chromo(Chromosome *chromo, Pool *pool); extern void sort_pool(Pool *pool); -#endif /* GEQO_POOL_H */ +#endif /* GEQO_POOL_H */ diff --git a/src/include/optimizer/geqo_random.h b/src/include/optimizer/geqo_random.h index 4c5a1ac8ce1..d42b6ff779e 100644 --- a/src/include/optimizer/geqo_random.h +++ b/src/include/optimizer/geqo_random.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: geqo_random.h,v 1.10 2001/10/28 06:26:07 momjian Exp $ + * $Id: geqo_random.h,v 1.11 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -35,4 +35,4 @@ #define geqo_randint(upper,lower) \ ( (int) floor( geqo_rand()*(((upper)-(lower))+0.999999) ) + (lower) ) -#endif /* GEQO_RANDOM_H */ +#endif /* GEQO_RANDOM_H */ diff --git a/src/include/optimizer/geqo_recombination.h b/src/include/optimizer/geqo_recombination.h index 3b99c1b432e..96927301610 100644 --- a/src/include/optimizer/geqo_recombination.h +++ b/src/include/optimizer/geqo_recombination.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: geqo_recombination.h,v 1.10 2001/10/25 05:50:05 momjian Exp $ + * $Id: geqo_recombination.h,v 1.11 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -77,4 +77,4 @@ extern void ox1(Gene *mom, Gene *dad, Gene *offspring, int num_gene, City *city_ /* order crossover [OX2] according to Syswerda */ extern void ox2(Gene *mom, Gene *dad, Gene *offspring, int num_gene, City *city_table); -#endif /* GEQO_RECOMBINATION_H */ +#endif /* GEQO_RECOMBINATION_H */ diff --git a/src/include/optimizer/geqo_selection.h b/src/include/optimizer/geqo_selection.h index 9c10cfec9c8..d55e156fede 100644 --- a/src/include/optimizer/geqo_selection.h +++ b/src/include/optimizer/geqo_selection.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: geqo_selection.h,v 1.11 2001/10/28 06:26:07 momjian Exp $ + * $Id: geqo_selection.h,v 1.12 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -27,4 +27,4 @@ extern void geqo_selection(Chromosome *momma, Chromosome *daddy, Pool *pool, double bias); -#endif /* GEQO_SELECTION_H */ +#endif /* GEQO_SELECTION_H */ diff --git a/src/include/optimizer/joininfo.h b/src/include/optimizer/joininfo.h index f905d385098..49ffc3a7f3e 100644 --- a/src/include/optimizer/joininfo.h +++ b/src/include/optimizer/joininfo.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: joininfo.h,v 1.19 2001/10/28 06:26:07 momjian Exp $ + * $Id: joininfo.h,v 1.20 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -18,4 +18,4 @@ extern JoinInfo *find_joininfo_node(RelOptInfo *this_rel, List *join_relids); -#endif /* JOININFO_H */ +#endif /* JOININFO_H */ diff --git a/src/include/optimizer/pathnode.h b/src/include/optimizer/pathnode.h index 0c05bbdaa67..9be3cfde010 100644 --- a/src/include/optimizer/pathnode.h +++ b/src/include/optimizer/pathnode.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pathnode.h,v 1.40 2001/10/28 06:26:07 momjian Exp $ + * $Id: pathnode.h,v 1.41 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -76,4 +76,4 @@ extern RelOptInfo *build_join_rel(Query *root, JoinType jointype, List **restrictlist_ptr); -#endif /* PATHNODE_H */ +#endif /* PATHNODE_H */ diff --git a/src/include/optimizer/paths.h b/src/include/optimizer/paths.h index c725e2126c0..81b87141751 100644 --- a/src/include/optimizer/paths.h +++ b/src/include/optimizer/paths.h @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: paths.h,v 1.58 2001/10/28 06:26:07 momjian Exp $ + * $Id: paths.h,v 1.59 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -131,4 +131,4 @@ extern List *truncate_useless_pathkeys(Query *root, RelOptInfo *rel, List *pathkeys); -#endif /* PATHS_H */ +#endif /* PATHS_H */ diff --git a/src/include/optimizer/plancat.h b/src/include/optimizer/plancat.h index 5fda9af760b..566cbce6aaa 100644 --- a/src/include/optimizer/plancat.h +++ b/src/include/optimizer/plancat.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: plancat.h,v 1.25 2001/10/28 06:26:07 momjian Exp $ + * $Id: plancat.h,v 1.26 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -37,4 +37,4 @@ extern Selectivity join_selectivity(Query *root, Oid operator, List *args); -#endif /* PLANCAT_H */ +#endif /* PLANCAT_H */ diff --git a/src/include/optimizer/planmain.h b/src/include/optimizer/planmain.h index 8c5bbf58063..37209dfd5c3 100644 --- a/src/include/optimizer/planmain.h +++ b/src/include/optimizer/planmain.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: planmain.h,v 1.53 2001/10/28 06:26:07 momjian Exp $ + * $Id: planmain.h,v 1.54 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -68,4 +68,4 @@ extern bool _use_keyset_query_optimizer; extern void transformKeySetQuery(Query *origNode); -#endif /* PLANMAIN_H */ +#endif /* PLANMAIN_H */ diff --git a/src/include/optimizer/planner.h b/src/include/optimizer/planner.h index 7db7e5d1656..7eebff248a5 100644 --- a/src/include/optimizer/planner.h +++ b/src/include/optimizer/planner.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: planner.h,v 1.22 2001/10/28 06:26:07 momjian Exp $ + * $Id: planner.h,v 1.23 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -24,4 +24,4 @@ extern Plan *subquery_planner(Query *parse, double tuple_fraction); extern Plan *make_sortplan(Query *parse, List *tlist, Plan *plannode, List *sortcls); -#endif /* PLANNER_H */ +#endif /* PLANNER_H */ diff --git a/src/include/optimizer/prep.h b/src/include/optimizer/prep.h index e6fa5c437fc..b6fe0645a8d 100644 --- a/src/include/optimizer/prep.h +++ b/src/include/optimizer/prep.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: prep.h,v 1.30 2001/10/28 06:26:07 momjian Exp $ + * $Id: prep.h,v 1.31 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -43,4 +43,4 @@ extern Node *adjust_inherited_attrs(Node *node, Index old_rt_index, Oid old_relid, Index new_rt_index, Oid new_relid); -#endif /* PREP_H */ +#endif /* PREP_H */ diff --git a/src/include/optimizer/restrictinfo.h b/src/include/optimizer/restrictinfo.h index 6fb0fb22eea..68569c9e443 100644 --- a/src/include/optimizer/restrictinfo.h +++ b/src/include/optimizer/restrictinfo.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: restrictinfo.h,v 1.13 2001/10/28 06:26:07 momjian Exp $ + * $Id: restrictinfo.h,v 1.14 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -21,4 +21,4 @@ extern List *get_actual_clauses(List *restrictinfo_list); extern void get_actual_join_clauses(List *restrictinfo_list, List **joinquals, List **otherquals); -#endif /* RESTRICTINFO_H */ +#endif /* RESTRICTINFO_H */ diff --git a/src/include/optimizer/subselect.h b/src/include/optimizer/subselect.h index 9c56a7592ba..0b54f2e3fdb 100644 --- a/src/include/optimizer/subselect.h +++ b/src/include/optimizer/subselect.h @@ -18,4 +18,4 @@ extern List *SS_finalize_plan(Plan *plan); extern Node *SS_replace_correlation_vars(Node *expr); extern Node *SS_process_sublinks(Node *expr); -#endif /* SUBSELECT_H */ +#endif /* SUBSELECT_H */ diff --git a/src/include/optimizer/tlist.h b/src/include/optimizer/tlist.h index 44c4965bf6b..b14c2429d88 100644 --- a/src/include/optimizer/tlist.h +++ b/src/include/optimizer/tlist.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: tlist.h,v 1.30 2001/10/28 06:26:07 momjian Exp $ + * $Id: tlist.h,v 1.31 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -33,4 +33,4 @@ extern TargetEntry *get_sortgroupclause_tle(SortClause *sortClause, extern Node *get_sortgroupclause_expr(SortClause *sortClause, List *targetList); -#endif /* TLIST_H */ +#endif /* TLIST_H */ diff --git a/src/include/optimizer/var.h b/src/include/optimizer/var.h index 9d3fdc5e51b..c88da074a58 100644 --- a/src/include/optimizer/var.h +++ b/src/include/optimizer/var.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: var.h,v 1.16 2001/10/28 06:26:07 momjian Exp $ + * $Id: var.h,v 1.17 2001/11/05 17:46:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -23,4 +23,4 @@ extern bool contain_whole_tuple_var(Node *node, int varno, int levelsup); extern bool contain_var_clause(Node *node); extern List *pull_var_clause(Node *node, bool includeUpperVars); -#endif /* VAR_H */ +#endif /* VAR_H */ |
