aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/explain.c
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2025-01-02 12:42:01 +1300
committerDavid Rowley <drowley@postgresql.org>2025-01-02 12:42:01 +1300
commit11012c503759f8018d8831bc6eb1f998eba7ad25 (patch)
tree4c81ce997993741a27630e72c12f0cc9dfa5cee2 /src/backend/commands/explain.c
parent50e6eb731d98ab6d0e625a0b87fb327b172bbebd (diff)
downloadpostgresql-11012c503759f8018d8831bc6eb1f998eba7ad25.tar.gz
postgresql-11012c503759f8018d8831bc6eb1f998eba7ad25.zip
Fix an assortment of spelling mistakes and typos
Author: Alexander Lakhin <exclusion@gmail.com> Discussion: https://postgr.es/m/5812a0b9-b0cf-4151-9a14-d9f00e4f2858@gmail.com
Diffstat (limited to 'src/backend/commands/explain.c')
-rw-r--r--src/backend/commands/explain.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/commands/explain.c b/src/backend/commands/explain.c
index 52c36d55df2..c24e66f82e1 100644
--- a/src/backend/commands/explain.c
+++ b/src/backend/commands/explain.c
@@ -1384,8 +1384,8 @@ ExplainPreScanNode(PlanState *planstate, Bitmapset **rels_used)
/*
* plan_is_disabled
* Checks if the given plan node type was disabled during query planning.
- * This is evident by the disable_node field being higher than the sum of
- * the disabled_node field from the plan's children.
+ * This is evident by the disabled_nodes field being higher than the sum of
+ * the disabled_nodes field from the plan's children.
*/
static bool
plan_is_disabled(Plan *plan)
@@ -1462,8 +1462,8 @@ plan_is_disabled(Plan *plan)
}
/*
- * It's disabled if the plan's disable_nodes is higher than the sum of its
- * child's plan disabled_nodes.
+ * It's disabled if the plan's disabled_nodes is higher than the sum of
+ * its child's plan disabled_nodes.
*/
if (plan->disabled_nodes > child_disabled_nodes)
return true;