mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
Run pgindent on 9.2 source tree in preparation for first 9.3
commit-fest.
This commit is contained in:
@ -247,7 +247,7 @@ MJExamineQuals(List *mergeclauses,
|
||||
op_lefttype,
|
||||
op_righttype,
|
||||
BTORDER_PROC);
|
||||
if (!OidIsValid(sortfunc)) /* should not happen */
|
||||
if (!OidIsValid(sortfunc)) /* should not happen */
|
||||
elog(ERROR, "missing support function %d(%u,%u) in opfamily %u",
|
||||
BTORDER_PROC, op_lefttype, op_righttype, opfamily);
|
||||
/* We'll use a shim to call the old-style btree comparator */
|
||||
@ -405,7 +405,7 @@ MJCompare(MergeJoinState *mergestate)
|
||||
*/
|
||||
if (clause->lisnull && clause->risnull)
|
||||
{
|
||||
nulleqnull = true; /* NULL "=" NULL */
|
||||
nulleqnull = true; /* NULL "=" NULL */
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -419,8 +419,8 @@ MJCompare(MergeJoinState *mergestate)
|
||||
|
||||
/*
|
||||
* If we had any NULL-vs-NULL inputs, we do not want to report that the
|
||||
* tuples are equal. Instead, if result is still 0, change it to +1.
|
||||
* This will result in advancing the inner side of the join.
|
||||
* tuples are equal. Instead, if result is still 0, change it to +1. This
|
||||
* will result in advancing the inner side of the join.
|
||||
*
|
||||
* Likewise, if there was a constant-false joinqual, do not report
|
||||
* equality. We have to check this as part of the mergequals, else the
|
||||
|
Reference in New Issue
Block a user