aboutsummaryrefslogtreecommitdiff
path: root/src/backend/statistics/dependencies.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-04-19 11:32:30 +0900
committerMichael Paquier <michael@paquier.xyz>2021-04-19 11:32:30 +0900
commit7ef8b52cf079ef3ace4575f7b97c2d6f80463b4f (patch)
tree9dd7a216019831ea53951e4e08aff564b634dba8 /src/backend/statistics/dependencies.c
parentc731f9187b5fd7038b04ba60703d3cace1806366 (diff)
downloadpostgresql-7ef8b52cf079ef3ace4575f7b97c2d6f80463b4f.tar.gz
postgresql-7ef8b52cf079ef3ace4575f7b97c2d6f80463b4f.zip
Fix typos and grammar in comments and docs
Author: Justin Pryzby Discussion: https://postgr.es/m/20210416070310.GG3315@telsasoft.com
Diffstat (limited to 'src/backend/statistics/dependencies.c')
-rw-r--r--src/backend/statistics/dependencies.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/statistics/dependencies.c b/src/backend/statistics/dependencies.c
index cf8a6d5f68b..ba7decb6a4e 100644
--- a/src/backend/statistics/dependencies.c
+++ b/src/backend/statistics/dependencies.c
@@ -972,7 +972,7 @@ find_strongest_dependency(MVDependencies **dependencies, int ndependencies,
/*
* clauselist_apply_dependencies
* Apply the specified functional dependencies to a list of clauses and
- * return the estimated selecvitity of the clauses that are compatible
+ * return the estimated selectivity of the clauses that are compatible
* with any of the given dependencies.
*
* This will estimate all not-already-estimated clauses that are compatible
@@ -1450,7 +1450,7 @@ dependencies_clauselist_selectivity(PlannerInfo *root,
if (!bms_is_member(listidx, *estimatedclauses))
{
/*
- * If it's a simple column refrence, just extract the attnum. If
+ * If it's a simple column reference, just extract the attnum. If
* it's an expression, assign a negative attnum as if it was a
* system attribute.
*/