diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-09-27 14:21:28 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-09-27 14:21:28 +0900 |
commit | e767ddcd354b51fc4c12d6b02e268861bd871fbc (patch) | |
tree | 1a0be8e35ff2bf23da6979377688d7e5eda3f9d4 /src/backend/statistics/extended_stats.c | |
parent | 895267a3266484440c0b2f42f613bcff28844cc1 (diff) | |
download | postgresql-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/statistics/extended_stats.c')
-rw-r--r-- | src/backend/statistics/extended_stats.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/statistics/extended_stats.c b/src/backend/statistics/extended_stats.c index 5fa36e0036e..4c352234577 100644 --- a/src/backend/statistics/extended_stats.c +++ b/src/backend/statistics/extended_stats.c @@ -699,11 +699,11 @@ examine_expression(Node *expr, int stattarget) } /* - * Using 'vacatts' of size 'nvacatts' as input data, return a newly built + * Using 'vacatts' of size 'nvacatts' as input data, return a newly-built * VacAttrStats array which includes only the items corresponding to - * attributes indicated by 'stxkeys'. If we don't have all of the per column - * stats available to compute the extended stats, then we return NULL to indicate - * to the caller that the stats should not be built. + * attributes indicated by 'attrs'. If we don't have all of the per-column + * stats available to compute the extended stats, then we return NULL to + * indicate to the caller that the stats should not be built. */ static VacAttrStats ** lookup_var_attr_stats(Relation rel, Bitmapset *attrs, List *exprs, |