aboutsummaryrefslogtreecommitdiff
path: root/src/backend/optimizer/util/pathnode.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-09-27 14:21:28 +0900
committerMichael Paquier <michael@paquier.xyz>2021-09-27 14:21:28 +0900
commite767ddcd354b51fc4c12d6b02e268861bd871fbc (patch)
tree1a0be8e35ff2bf23da6979377688d7e5eda3f9d4 /src/backend/optimizer/util/pathnode.c
parent895267a3266484440c0b2f42f613bcff28844cc1 (diff)
downloadpostgresql-e767ddcd354b51fc4c12d6b02e268861bd871fbc.tar.gz
postgresql-e767ddcd354b51fc4c12d6b02e268861bd871fbc.zip
Fix typos and grammar in code comments
Several mistakes have piled in the code comments over the time, including incorrect grammar, function names and simple typos. This commit takes care of a portion of these. No backpatch is done as this is only cosmetic. Author: Justin Pryzby Discussion: https://postgr.es/m/20210924215827.GS831@telsasoft.com
Diffstat (limited to 'src/backend/optimizer/util/pathnode.c')
-rw-r--r--src/backend/optimizer/util/pathnode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/optimizer/util/pathnode.c b/src/backend/optimizer/util/pathnode.c
index cedb3848dde..e53d381e199 100644
--- a/src/backend/optimizer/util/pathnode.c
+++ b/src/backend/optimizer/util/pathnode.c
@@ -105,7 +105,7 @@ compare_path_costs(Path *path1, Path *path2, CostSelector criterion)
}
/*
- * compare_path_fractional_costs
+ * compare_fractional_path_costs
* Return -1, 0, or +1 according as path1 is cheaper, the same cost,
* or more expensive than path2 for fetching the specified fraction
* of the total tuples.