aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/spgist/spgutils.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-01-03 16:26:30 +0900
committerMichael Paquier <michael@paquier.xyz>2023-01-03 16:26:30 +0900
commite373e5578bc39af4f20a4b70c5db1895d0e2d3d1 (patch)
treebad5f5a4edc351386be162af94841fe2402eafeb /src/backend/access/spgist/spgutils.c
parent7b5dec760f7d7cb8df0fe10051a6aca806581957 (diff)
downloadpostgresql-e373e5578bc39af4f20a4b70c5db1895d0e2d3d1.tar.gz
postgresql-e373e5578bc39af4f20a4b70c5db1895d0e2d3d1.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 4484805192c..a76c52aa94c 100644
--- a/src/backend/access/spgist/spgutils.c
+++ b/src/backend/access/spgist/spgutils.c
@@ -1302,7 +1302,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. */