aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/spgist/spgutils.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-01-03 16:26:37 +0900
committerMichael Paquier <michael@paquier.xyz>2023-01-03 16:26:37 +0900
commitdfaa705ce423b5c55bb5effac1835d39aeb76767 (patch)
treeaa2e307a5714e4cc7c191efef39ea9f8fd1aa7e7 /src/backend/access/spgist/spgutils.c
parentf0e13802f196bc1044d52669ae5ef0b32e3a4db2 (diff)
downloadpostgresql-dfaa705ce423b5c55bb5effac1835d39aeb76767.tar.gz
postgresql-dfaa705ce423b5c55bb5effac1835d39aeb76767.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/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 45472db147b..e5b5f6c3340 100644
--- a/src/backend/access/spgist/spgutils.c
+++ b/src/backend/access/spgist/spgutils.c
@@ -988,7 +988,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. */