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

New pgindent run with fixes suggested by Tom. Patch manually reviewed,

initdb/regression tests pass.
This commit is contained in:
Bruce Momjian
2001-11-05 17:46:40 +00:00
parent 34153b2052
commit ea08e6cd55
503 changed files with 1648 additions and 1610 deletions

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */