aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/spgist
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-01-03 16:26:34 +0900
committerMichael Paquier <michael@paquier.xyz>2023-01-03 16:26:34 +0900
commit1c89549ca48d04195bfc774534a54cf84b797e8b (patch)
tree26be7aed6aa66dad1384d2ed76d716f9fc50215e /src/backend/access/spgist
parentce073d01445c09733ba71010276f1ef255b89efd (diff)
downloadpostgresql-1c89549ca48d04195bfc774534a54cf84b797e8b.tar.gz
postgresql-1c89549ca48d04195bfc774534a54cf84b797e8b.zip
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')
-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 0efe05e552b..f92d570e049 100644
--- a/src/backend/access/spgist/spgutils.c
+++ b/src/backend/access/spgist/spgutils.c
@@ -1000,7 +1000,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. */