diff options
| author | Michael Paquier | 2020-11-02 06:14:41 +0000 |
|---|---|---|
| committer | Michael Paquier | 2020-11-02 06:14:41 +0000 |
| commit | 8a15e735be00f156a7227741c0ce88702e6de099 (patch) | |
| tree | cbf4c769323851d32da23f4d58895be79dcf2787 /src/backend/statistics | |
| parent | 644f0d7cc9c2cb270746f2024c706554e0fbec82 (diff) | |
Fix some grammar and typos in comments and docs
The documentation fixes are backpatched down to where they apply.
Author: Justin Pryzby
Discussion: https://postgr.es/m/20201031020801.GD3080@telsasoft.com
Backpatch-through: 9.6
Diffstat (limited to 'src/backend/statistics')
| -rw-r--r-- | src/backend/statistics/dependencies.c | 2 | ||||
| -rw-r--r-- | src/backend/statistics/extended_stats.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/statistics/dependencies.c b/src/backend/statistics/dependencies.c index 4e30abb6743..d950b4eabe0 100644 --- a/src/backend/statistics/dependencies.c +++ b/src/backend/statistics/dependencies.c @@ -1305,7 +1305,7 @@ dependencies_clauselist_selectivity(PlannerInfo *root, /* * Work out which dependencies we can apply, starting with the - * widest/stongest ones, and proceeding to smaller/weaker ones. + * widest/strongest ones, and proceeding to smaller/weaker ones. */ dependencies = (MVDependency **) palloc(sizeof(MVDependency *) * total_ndeps); diff --git a/src/backend/statistics/extended_stats.c b/src/backend/statistics/extended_stats.c index 9336f9bc5e9..36326927c6b 100644 --- a/src/backend/statistics/extended_stats.c +++ b/src/backend/statistics/extended_stats.c @@ -1403,7 +1403,7 @@ statext_mcv_clauselist_selectivity(PlannerInfo *root, List *clauses, int varReli stat_sel = mcv_sel + other_sel; CLAMP_PROBABILITY(stat_sel); - /* Factor the estimate from this MCV to the oveall estimate. */ + /* Factor the estimate from this MCV to the overall estimate. */ sel *= stat_sel; } |
