diff options
author | Bruce Momjian <bruce@momjian.us> | 2011-06-09 14:32:50 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2011-06-09 14:32:50 -0400 |
commit | 6560407c7db2c7e32926a46f5fb52175ac10d9e5 (patch) | |
tree | 9641e538893819410634624a8e0cb86a13d857a6 /src/backend/rewrite/rewriteHandler.c | |
parent | adf43b2b36ca3d7f988933990051c74a4bd0d6f8 (diff) | |
download | postgresql-6560407c7db2c7e32926a46f5fb52175ac10d9e5.tar.gz postgresql-6560407c7db2c7e32926a46f5fb52175ac10d9e5.zip |
Pgindent run before 9.1 beta2.
Diffstat (limited to 'src/backend/rewrite/rewriteHandler.c')
-rw-r--r-- | src/backend/rewrite/rewriteHandler.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/backend/rewrite/rewriteHandler.c b/src/backend/rewrite/rewriteHandler.c index be9e7a45989..6ef20a5bb53 100644 --- a/src/backend/rewrite/rewriteHandler.c +++ b/src/backend/rewrite/rewriteHandler.c @@ -455,17 +455,17 @@ rewriteRuleAction(Query *parsetree, } /* - * If the original query has any CTEs, copy them into the rule action. - * But we don't need them for a utility action. + * If the original query has any CTEs, copy them into the rule action. But + * we don't need them for a utility action. */ if (parsetree->cteList != NIL && sub_action->commandType != CMD_UTILITY) { ListCell *lc; /* - * Annoying implementation restriction: because CTEs are identified - * by name within a cteList, we can't merge a CTE from the original - * query if it has the same name as any CTE in the rule action. + * Annoying implementation restriction: because CTEs are identified by + * name within a cteList, we can't merge a CTE from the original query + * if it has the same name as any CTE in the rule action. * * This could possibly be fixed by using some sort of internally * generated ID, instead of names, to link CTE RTEs to their CTEs. @@ -2116,15 +2116,15 @@ RewriteQuery(Query *parsetree, List *rewrite_events) /* * If the original query has a CTE list, and we generated more than one - * non-utility result query, we have to fail because we'll have copied - * the CTE list into each result query. That would break the expectation - * of single evaluation of CTEs. This could possibly be fixed by + * non-utility result query, we have to fail because we'll have copied the + * CTE list into each result query. That would break the expectation of + * single evaluation of CTEs. This could possibly be fixed by * restructuring so that a CTE list can be shared across multiple Query * and PlannableStatement nodes. */ if (parsetree->cteList != NIL) { - int qcount = 0; + int qcount = 0; foreach(lc1, rewritten) { |