git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1558413)
Fix wording of several extended stats comments
2020年3月18日 12:38:49 +0000 (13:38 +0100)
2020年3月18日 12:40:13 +0000 (13:40 +0100)
Reported-by: Thomas Munro
Discussion: https://www.postgresql.org/message-id/flat/20200113230008.g67iyk4cs3xbnjju@development


diff --git a/src/backend/statistics/extended_stats.c b/src/backend/statistics/extended_stats.c
index c3f0da4e2335e4957b22daaa1c12961997a45367..318fdb8f6dc7290e2e20e16087a7827c8f024bf6 100644 (file)
--- a/src/backend/statistics/extended_stats.c
+++ b/src/backend/statistics/extended_stats.c
@@ -993,7 +993,7 @@ statext_is_compatible_clause_internal(PlannerInfo *root, Node *clause,
if (list_length(expr->args) != 2)
return false;
- /* Check if the expression the right shape (one Var, one Const) */
+ /* Check if the expression has the right shape (one Var, one Const) */
if (!examine_clause_args(expr->args, &var, NULL, NULL))
return false;
@@ -1049,7 +1049,7 @@ statext_is_compatible_clause_internal(PlannerInfo *root, Node *clause,
if (list_length(expr->args) != 2)
return false;
- /* Check if the expression the right shape (one Var, one Const) */
+ /* Check if the expression has the right shape (one Var, one Const) */
if (!examine_clause_args(expr->args, &var, NULL, NULL))
return false;
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /