mirror of
https://github.com/postgres/postgres.git
synced 2025-08-19 23:22:23 +03:00
Pre-beta mechanical code beautification.
Run pgindent, pgperltidy, and reformat-dat-files. I manually fixed a couple of comments that pgindent uglified.
This commit is contained in:
@@ -104,8 +104,8 @@ static bool test_raw_expression_coverage(Node *node, void *context);
|
||||
*/
|
||||
Query *
|
||||
parse_analyze_fixedparams(RawStmt *parseTree, const char *sourceText,
|
||||
const Oid *paramTypes, int numParams,
|
||||
QueryEnvironment *queryEnv)
|
||||
const Oid *paramTypes, int numParams,
|
||||
QueryEnvironment *queryEnv)
|
||||
{
|
||||
ParseState *pstate = make_parsestate(NULL);
|
||||
Query *query;
|
||||
@@ -2076,8 +2076,8 @@ transformSetOperationTree(ParseState *pstate, SelectStmt *stmt,
|
||||
ListCell *ltl;
|
||||
ListCell *rtl;
|
||||
const char *context;
|
||||
bool recursive = (pstate->p_parent_cte &&
|
||||
pstate->p_parent_cte->cterecursive);
|
||||
bool recursive = (pstate->p_parent_cte &&
|
||||
pstate->p_parent_cte->cterecursive);
|
||||
|
||||
context = (stmt->op == SETOP_UNION ? "UNION" :
|
||||
(stmt->op == SETOP_INTERSECT ? "INTERSECT" :
|
||||
@@ -2231,7 +2231,10 @@ transformSetOperationTree(ParseState *pstate, SelectStmt *stmt,
|
||||
setup_parser_errposition_callback(&pcbstate, pstate,
|
||||
bestlocation);
|
||||
|
||||
/* If it's a recursive union, we need to require hashing support. */
|
||||
/*
|
||||
* If it's a recursive union, we need to require hashing
|
||||
* support.
|
||||
*/
|
||||
op->groupClauses = lappend(op->groupClauses,
|
||||
makeSortGroupClauseForSetOp(rescoltype, recursive));
|
||||
|
||||
|
Reference in New Issue
Block a user