mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
pgindent run for release 9.3
This is the first run of the Perl-based pgindent script. Also update pgindent instructions.
This commit is contained in:
@ -251,7 +251,7 @@ transformExprRecurse(ParseState *pstate, Node *expr)
|
||||
break;
|
||||
default:
|
||||
elog(ERROR, "unrecognized A_Expr kind: %d", a->kind);
|
||||
result = NULL; /* keep compiler quiet */
|
||||
result = NULL; /* keep compiler quiet */
|
||||
break;
|
||||
}
|
||||
break;
|
||||
@ -1411,9 +1411,9 @@ transformSubLink(ParseState *pstate, SubLink *sublink)
|
||||
return result;
|
||||
|
||||
/*
|
||||
* Check to see if the sublink is in an invalid place within the query.
|
||||
* We allow sublinks everywhere in SELECT/INSERT/UPDATE/DELETE, but
|
||||
* generally not in utility statements.
|
||||
* Check to see if the sublink is in an invalid place within the query. We
|
||||
* allow sublinks everywhere in SELECT/INSERT/UPDATE/DELETE, but generally
|
||||
* not in utility statements.
|
||||
*/
|
||||
err = NULL;
|
||||
switch (pstate->p_expr_kind)
|
||||
@ -2031,7 +2031,7 @@ transformXmlSerialize(ParseState *pstate, XmlSerialize *xs)
|
||||
xexpr = makeNode(XmlExpr);
|
||||
xexpr->op = IS_XMLSERIALIZE;
|
||||
xexpr->args = list_make1(coerce_to_specific_type(pstate,
|
||||
transformExprRecurse(pstate, xs->expr),
|
||||
transformExprRecurse(pstate, xs->expr),
|
||||
XMLOID,
|
||||
"XMLSERIALIZE"));
|
||||
|
||||
|
Reference in New Issue
Block a user