1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-27 22:56:53 +03:00

Fix statenames in mergejoin comments

The names in the comments were on a few states not consistent with
the documented state.

Author: Zhihong Yu <zyu@yugabyte.com>
Discussion: https://postgr.es/m/CALNJ-vQVthfQXVqmrHR8BKHtC4fMGbhM1xbvJNJAPexTq_dH=w@mail.gmail.com
This commit is contained in:
Daniel Gustafsson 2022-02-23 10:54:03 +01:00
parent afdeff1052
commit 2313a3ee22

View File

@ -1143,7 +1143,7 @@ ExecMergeJoin(PlanState *pstate)
break; break;
/*---------------------------------------------------------- /*----------------------------------------------------------
* EXEC_MJ_SKIP means compare tuples and if they do not * EXEC_MJ_SKIP_TEST means compare tuples and if they do not
* match, skip whichever is lesser. * match, skip whichever is lesser.
* *
* For example: * For example:
@ -1199,8 +1199,8 @@ ExecMergeJoin(PlanState *pstate)
break; break;
/* /*
* SKIPOUTER_ADVANCE: advance over an outer tuple that is * EXEC_MJ_SKIPOUTER_ADVANCE: advance over an outer tuple that
* known not to join to any inner tuple. * is known not to join to any inner tuple.
* *
* Before advancing, we check to see if we must emit an * Before advancing, we check to see if we must emit an
* outer-join fill tuple for this outer tuple. * outer-join fill tuple for this outer tuple.
@ -1261,8 +1261,8 @@ ExecMergeJoin(PlanState *pstate)
break; break;
/* /*
* SKIPINNER_ADVANCE: advance over an inner tuple that is * EXEC_MJ_SKIPINNER_ADVANCE: advance over an inner tuple that
* known not to join to any outer tuple. * is known not to join to any outer tuple.
* *
* Before advancing, we check to see if we must emit an * Before advancing, we check to see if we must emit an
* outer-join fill tuple for this inner tuple. * outer-join fill tuple for this inner tuple.