From 9e1552607a9dc6bc23e43d46770a9063ade4f3f0 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 22 Mar 2001 04:01:46 +0000 Subject: pgindent run. Make it all clean. --- src/include/parser/parse_clause.h | 4 ++-- src/include/parser/parse_coerce.h | 8 ++++---- src/include/parser/parse_func.h | 14 +++++++------- src/include/parser/parse_node.h | 8 ++++---- src/include/parser/parse_oper.h | 7 ++++--- src/include/parser/parse_relation.h | 34 +++++++++++++++++----------------- 6 files changed, 38 insertions(+), 37 deletions(-) (limited to 'src/include/parser') diff --git a/src/include/parser/parse_clause.h b/src/include/parser/parse_clause.h index 31d5542efc2..bf05dc6d7e8 100644 --- a/src/include/parser/parse_clause.h +++ b/src/include/parser/parse_clause.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: parse_clause.h,v 1.23 2001/02/14 21:35:05 tgl Exp $ + * $Id: parse_clause.h,v 1.24 2001/03/22 04:00:56 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -18,7 +18,7 @@ extern void transformFromClause(ParseState *pstate, List *frmList); extern int setTargetTable(ParseState *pstate, char *relname, - bool inh, bool alsoSource); + bool inh, bool alsoSource); extern bool interpretInhOption(InhOption inhOpt); extern Node *transformWhereClause(ParseState *pstate, Node *where); extern List *transformGroupClause(ParseState *pstate, List *grouplist, diff --git a/src/include/parser/parse_coerce.h b/src/include/parser/parse_coerce.h index 09cb8154474..d8c7e430cd9 100644 --- a/src/include/parser/parse_coerce.h +++ b/src/include/parser/parse_coerce.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: parse_coerce.h,v 1.26 2001/01/24 19:43:27 momjian Exp $ + * $Id: parse_coerce.h,v 1.27 2001/03/22 04:00:57 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -136,9 +136,9 @@ extern Node *coerce_type(ParseState *pstate, Node *node, Oid inputTypeId, extern Node *coerce_type_typmod(ParseState *pstate, Node *node, Oid targetTypeId, int32 atttypmod); -extern Oid select_common_type(List *typeids, const char *context); +extern Oid select_common_type(List *typeids, const char *context); extern Node *coerce_to_common_type(ParseState *pstate, Node *node, - Oid targetTypeId, - const char *context); + Oid targetTypeId, + const char *context); #endif /* PARSE_COERCE_H */ diff --git a/src/include/parser/parse_func.h b/src/include/parser/parse_func.h index 205d993e8a4..7e0b3f77527 100644 --- a/src/include/parser/parse_func.h +++ b/src/include/parser/parse_func.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: parse_func.h,v 1.28 2001/01/24 19:43:27 momjian Exp $ + * $Id: parse_func.h,v 1.29 2001/03/22 04:00:57 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -39,15 +39,15 @@ typedef struct _CandidateList } *CandidateList; extern Node *ParseNestedFuncOrColumn(ParseState *pstate, Attr *attr, - int precedence); + int precedence); extern Node *ParseFuncOrColumn(ParseState *pstate, - char *funcname, List *fargs, - bool agg_star, bool agg_distinct, - int precedence); + char *funcname, List *fargs, + bool agg_star, bool agg_distinct, + int precedence); extern bool func_get_detail(char *funcname, int nargs, Oid *argtypes, - Oid *funcid, Oid *rettype, - bool *retset, Oid **true_typeids); + Oid *funcid, Oid *rettype, + bool *retset, Oid **true_typeids); extern bool typeInheritsFrom(Oid subclassTypeId, Oid superclassTypeId); diff --git a/src/include/parser/parse_node.h b/src/include/parser/parse_node.h index bb0229abcd1..a7c14883ed2 100644 --- a/src/include/parser/parse_node.h +++ b/src/include/parser/parse_node.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: parse_node.h,v 1.25 2001/02/14 21:35:05 tgl Exp $ + * $Id: parse_node.h,v 1.26 2001/03/22 04:00:57 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -35,10 +35,10 @@ */ typedef struct ParseState { - struct ParseState *parentParseState; /* stack link */ + struct ParseState *parentParseState; /* stack link */ List *p_rtable; /* range table so far */ - List *p_joinlist; /* join items so far (will become - * FromExpr node's fromlist) */ + List *p_joinlist; /* join items so far (will become FromExpr + * node's fromlist) */ List *p_namespace; /* current lookup namespace (join items) */ int p_last_resno; /* last targetlist resno assigned */ List *p_forUpdate; /* FOR UPDATE clause, if any (see gram.y) */ diff --git a/src/include/parser/parse_oper.h b/src/include/parser/parse_oper.h index 069a9d5be27..400702fd7a8 100644 --- a/src/include/parser/parse_oper.h +++ b/src/include/parser/parse_oper.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: parse_oper.h,v 1.14 2001/02/16 03:16:58 tgl Exp $ + * $Id: parse_oper.h,v 1.15 2001/03/22 04:00:57 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -27,12 +27,13 @@ extern Operator left_oper(char *op, Oid arg); /* Routines to find operators that DO NOT require coercion --- ie, their */ /* input types are either exactly as given, or binary-compatible */ extern Operator compatible_oper(char *op, Oid arg1, Oid arg2, bool noError); + /* currently no need for compatible_left_oper/compatible_right_oper */ /* Convenience routines that call compatible_oper() and return either */ /* the operator OID or the underlying function OID, or InvalidOid if fail */ -extern Oid compatible_oper_opid(char *op, Oid arg1, Oid arg2, bool noError); -extern Oid compatible_oper_funcid(char *op, Oid arg1, Oid arg2, bool noError); +extern Oid compatible_oper_opid(char *op, Oid arg1, Oid arg2, bool noError); +extern Oid compatible_oper_funcid(char *op, Oid arg1, Oid arg2, bool noError); /* Convenience routine that packages a specific call on compatible_oper */ extern Oid any_ordering_op(Oid argtype); diff --git a/src/include/parser/parse_relation.h b/src/include/parser/parse_relation.h index 274de9e8895..904bde96235 100644 --- a/src/include/parser/parse_relation.h +++ b/src/include/parser/parse_relation.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: parse_relation.h,v 1.22 2001/02/14 21:35:06 tgl Exp $ + * $Id: parse_relation.h,v 1.23 2001/03/22 04:00:58 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -17,33 +17,33 @@ #include "parser/parse_node.h" extern Node *refnameRangeOrJoinEntry(ParseState *pstate, - char *refname, - int *sublevels_up); + char *refname, + int *sublevels_up); extern void checkNameSpaceConflicts(ParseState *pstate, Node *namespace1, - Node *namespace2); + Node *namespace2); extern int RTERangeTablePosn(ParseState *pstate, - RangeTblEntry *rte, - int *sublevels_up); + RangeTblEntry *rte, + int *sublevels_up); extern Node *colnameToVar(ParseState *pstate, char *colname); extern Node *qualifiedNameToVar(ParseState *pstate, char *refname, - char *colname, bool implicitRTEOK); + char *colname, bool implicitRTEOK); extern RangeTblEntry *addRangeTableEntry(ParseState *pstate, - char *relname, - Attr *alias, - bool inh, - bool inFromCl); + char *relname, + Attr *alias, + bool inh, + bool inFromCl); extern RangeTblEntry *addRangeTableEntryForSubquery(ParseState *pstate, - Query *subquery, - Attr *alias, - bool inFromCl); + Query *subquery, + Attr *alias, + bool inFromCl); extern void addRTEtoQuery(ParseState *pstate, RangeTblEntry *rte, - bool addToJoinList, bool addToNameSpace); + bool addToJoinList, bool addToNameSpace); extern RangeTblEntry *addImplicitRTE(ParseState *pstate, char *relname); extern void expandRTE(ParseState *pstate, RangeTblEntry *rte, - List **colnames, List **colvars); + List **colnames, List **colvars); extern List *expandRelAttrs(ParseState *pstate, RangeTblEntry *rte); extern List *expandJoinAttrs(ParseState *pstate, JoinExpr *join, - int sublevels_up); + int sublevels_up); extern int attnameAttNum(Relation rd, char *a); extern int specialAttNum(char *a); extern Oid attnumTypeId(Relation rd, int attid); -- cgit v1.2.3