summaryrefslogtreecommitdiff
path: root/src/backend/statistics/dependencies.c
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2024-04-18 21:28:07 +0200
committerDaniel Gustafsson <dgustafsson@postgresql.org>2024-04-18 21:28:07 +0200
commit950d4a2cb1d5f427dbccf70dbad510479cc4d8e6 (patch)
tree9991d70c6ff074e92b30a099b8a42ae61aa59818 /src/backend/statistics/dependencies.c
parentfbed6ebe41beb72d9b7978a414ed4e8515ed1b19 (diff)
Fix typos and duplicate words
This fixes various typos, duplicated words, and tiny bits of whitespace mainly in code comments but also in docs. Author: Daniel Gustafsson <daniel@yesql.se> Author: Heikki Linnakangas <hlinnaka@iki.fi> Author: Alexander Lakhin <exclusion@gmail.com> Author: David Rowley <dgrowleyml@gmail.com> Author: Nazir Bilal Yavuz <byavuz81@gmail.com> Discussion: https://postgr.es/m/3F577953-A29E-4722-98AD-2DA9EFF2CBB8@yesql.se
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 5eda06839ea..8d01a93b309 100644
--- a/src/backend/statistics/dependencies.c
+++ b/src/backend/statistics/dependencies.c
@@ -794,7 +794,7 @@ dependency_is_compatible_clause(Node *clause, Index relid, AttrNumber *attnum)
}
else if (IsA(clause, ScalarArrayOpExpr))
{
- /* If it's an scalar array operator, check for Var IN Const. */
+ /* If it's a scalar array operator, check for Var IN Const. */
ScalarArrayOpExpr *expr = (ScalarArrayOpExpr *) clause;
/*
@@ -1222,7 +1222,7 @@ dependency_is_compatible_expression(Node *clause, Index relid, List *statlist, N
}
else if (IsA(clause, ScalarArrayOpExpr))
{
- /* If it's an scalar array operator, check for Var IN Const. */
+ /* If it's a scalar array operator, check for Var IN Const. */
ScalarArrayOpExpr *expr = (ScalarArrayOpExpr *) clause;
/*