summaryrefslogtreecommitdiff
path: root/src/backend/access/spgist/spgutils.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-01-03 16:26:27 +0900
committerMichael Paquier <michael@paquier.xyz>2023-01-03 16:26:27 +0900
commitc772dfe07a9d4e499117f58d47a7c50d56666459 (patch)
tree7b5fa61dc94ebd1faa22d4efb5bbee3c3ca58f7f /src/backend/access/spgist/spgutils.c
parentc6e75e4c2703d8eb7cb14cbf94a3d3dc36fdabbd (diff)
Fix typos in comments, code and documentation
While on it, newlines are removed from the end of two elog() strings. The others are simple grammar mistakes. One comment in pg_upgrade referred incorrectly to sequences since a7e5457. Author: Justin Pryzby Discussion: https://postgr.es/m/20221230231257.GI1153@telsasoft.com Backpatch-through: 11
Diffstat (limited to 'src/backend/access/spgist/spgutils.c')
-rw-r--r--src/backend/access/spgist/spgutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/spgist/spgutils.c b/src/backend/access/spgist/spgutils.c
index 2c661fcf96f..f2da02eb52d 100644
--- a/src/backend/access/spgist/spgutils.c
+++ b/src/backend/access/spgist/spgutils.c
@@ -1301,7 +1301,7 @@ spgproperty(Oid index_oid, int attno,
/*
* Currently, SP-GiST distance-ordered scans require that there be a
* distance operator in the opclass with the default types. So we assume
- * that if such a operator exists, then there's a reason for it.
+ * that if such an operator exists, then there's a reason for it.
*/
/* First we need to know the column's opclass. */