mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
pgindent run for 9.0, second run
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/executor/execUtils.c,v 1.172 2010/05/29 02:32:08 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/executor/execUtils.c,v 1.173 2010/07/06 19:18:56 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -1310,8 +1310,8 @@ retry:
|
||||
|
||||
/*
|
||||
* We should have found our tuple in the index, unless we exited the loop
|
||||
* early because of conflict. Complain if not. If we ever implement
|
||||
* '<>' index opclasses, this check will fail and will have to be removed.
|
||||
* early because of conflict. Complain if not. If we ever implement '<>'
|
||||
* index opclasses, this check will fail and will have to be removed.
|
||||
*/
|
||||
if (!found_self && !conflict)
|
||||
ereport(ERROR,
|
||||
|
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/executor/functions.c,v 1.143 2010/03/19 22:54:40 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/executor/functions.c,v 1.144 2010/07/06 19:18:56 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -939,9 +939,9 @@ sql_exec_error_callback(void *arg)
|
||||
else
|
||||
{
|
||||
/*
|
||||
* Assume we failed during init_sql_fcache(). (It's possible that
|
||||
* the function actually has an empty body, but in that case we may
|
||||
* as well report all errors as being "during startup".)
|
||||
* Assume we failed during init_sql_fcache(). (It's possible that the
|
||||
* function actually has an empty body, but in that case we may as
|
||||
* well report all errors as being "during startup".)
|
||||
*/
|
||||
errcontext("SQL function \"%s\" during startup", fcache->fname);
|
||||
}
|
||||
|
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/executor/nodeMergejoin.c,v 1.102 2010/05/28 01:14:03 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/executor/nodeMergejoin.c,v 1.103 2010/07/06 19:18:56 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -252,7 +252,7 @@ MJExamineQuals(List *mergeclauses,
|
||||
* input, since we assume mergejoin operators are strict. If the NULL
|
||||
* is in the first join column, and that column sorts nulls last, then
|
||||
* we can further conclude that no following tuple can match anything
|
||||
* either, since they must all have nulls in the first column. However,
|
||||
* either, since they must all have nulls in the first column. However,
|
||||
* that case is only interesting if we're not in FillOuter mode, else
|
||||
* we have to visit all the tuples anyway.
|
||||
*
|
||||
@ -748,6 +748,7 @@ ExecMergeJoin(MergeJoinState *node)
|
||||
switch (MJEvalInnerValues(node, innerTupleSlot))
|
||||
{
|
||||
case MJEVAL_MATCHABLE:
|
||||
|
||||
/*
|
||||
* OK, we have the initial tuples. Begin by skipping
|
||||
* non-matching tuples.
|
||||
@ -922,6 +923,7 @@ ExecMergeJoin(MergeJoinState *node)
|
||||
switch (MJEvalInnerValues(node, innerTupleSlot))
|
||||
{
|
||||
case MJEVAL_MATCHABLE:
|
||||
|
||||
/*
|
||||
* Test the new inner tuple to see if it matches
|
||||
* outer.
|
||||
@ -944,6 +946,7 @@ ExecMergeJoin(MergeJoinState *node)
|
||||
}
|
||||
break;
|
||||
case MJEVAL_NONMATCHABLE:
|
||||
|
||||
/*
|
||||
* It contains a NULL and hence can't match any outer
|
||||
* tuple, so we can skip the comparison and assume the
|
||||
@ -952,10 +955,11 @@ ExecMergeJoin(MergeJoinState *node)
|
||||
node->mj_JoinState = EXEC_MJ_NEXTOUTER;
|
||||
break;
|
||||
case MJEVAL_ENDOFJOIN:
|
||||
|
||||
/*
|
||||
* No more inner tuples. However, this might be
|
||||
* only effective and not physical end of inner plan,
|
||||
* so force mj_InnerTupleSlot to null to make sure we
|
||||
* No more inner tuples. However, this might be only
|
||||
* effective and not physical end of inner plan, so
|
||||
* force mj_InnerTupleSlot to null to make sure we
|
||||
* don't fetch more inner tuples. (We need this hack
|
||||
* because we are not transiting to a state where the
|
||||
* inner plan is assumed to be exhausted.)
|
||||
@ -1152,9 +1156,11 @@ ExecMergeJoin(MergeJoinState *node)
|
||||
node->mj_JoinState = EXEC_MJ_SKIP_TEST;
|
||||
break;
|
||||
case MJEVAL_NONMATCHABLE:
|
||||
|
||||
/*
|
||||
* current inner can't possibly match any outer;
|
||||
* better to advance the inner scan than the outer.
|
||||
* better to advance the inner scan than the
|
||||
* outer.
|
||||
*/
|
||||
node->mj_JoinState = EXEC_MJ_SKIPINNER_ADVANCE;
|
||||
break;
|
||||
@ -1337,6 +1343,7 @@ ExecMergeJoin(MergeJoinState *node)
|
||||
node->mj_JoinState = EXEC_MJ_SKIP_TEST;
|
||||
break;
|
||||
case MJEVAL_NONMATCHABLE:
|
||||
|
||||
/*
|
||||
* current inner can't possibly match any outer;
|
||||
* better to advance the inner scan than the outer.
|
||||
|
Reference in New Issue
Block a user