summaryrefslogtreecommitdiff
path: root/src/backend/statistics
diff options
context:
space:
mode:
authorTomas Vondra2020-03-18 12:38:49 +0000
committerTomas Vondra2020-03-18 12:40:13 +0000
commit6f72dbc48bf8a0f4dc3248691355b0688d7aeba2 (patch)
treee2720da7df736deed8797f8558288180c0025ddd /src/backend/statistics
parent1558413432e3dce941af550f1ad0d41790ec6fba (diff)
Fix wording of several extended stats comments
Reported-by: Thomas Munro Discussion: https://www.postgresql.org/message-id/flat/20200113230008.g67iyk4cs3xbnjju@development
Diffstat (limited to 'src/backend/statistics')
-rw-r--r--src/backend/statistics/extended_stats.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/statistics/extended_stats.c b/src/backend/statistics/extended_stats.c
index c3f0da4e233..318fdb8f6dc 100644
--- 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;