Fix statenames in mergejoin comments
authorDaniel Gustafsson <[email protected]>
Wed, 23 Feb 2022 09:54:03 +0000 (10:54 +0100)
committerDaniel Gustafsson <[email protected]>
Wed, 23 Feb 2022 09:54:03 +0000 (10:54 +0100)
The names in the comments were on a few states not consistent with
the documented state.

Author: Zhihong Yu <[email protected]>
Discussion: https://postgr.es/m/CALNJ-vQVthfQXVqmrHR8BKHtC4fMGbhM1xbvJNJAPexTq_dH=w@mail.gmail.com

src/backend/executor/nodeMergejoin.c

index a049bc4ae05cd4951f0d62ae7026575523ee7dd4..edb8972c5bf088ee7c45a4ada4e2f7390e22e495 100644 (file)
@@ -1143,7 +1143,7 @@ ExecMergeJoin(PlanState *pstate)
                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.
                 *
                 * For example:
@@ -1199,8 +1199,8 @@ ExecMergeJoin(PlanState *pstate)
                break;
 
                /*
-                * SKIPOUTER_ADVANCE: advance over an outer tuple that is
-                * known not to join to any inner tuple.
+                * EXEC_MJ_SKIPOUTER_ADVANCE: advance over an outer tuple that
+                * is known not to join to any inner tuple.
                 *
                 * Before advancing, we check to see if we must emit an
                 * outer-join fill tuple for this outer tuple.
@@ -1261,8 +1261,8 @@ ExecMergeJoin(PlanState *pstate)
                break;
 
                /*
-                * SKIPINNER_ADVANCE: advance over an inner tuple that is
-                * known not to join to any outer tuple.
+                * EXEC_MJ_SKIPINNER_ADVANCE: advance over an inner tuple that
+                * is known not to join to any outer tuple.
                 *
                 * Before advancing, we check to see if we must emit an
                 * outer-join fill tuple for this inner tuple.