Assorted typo fixes
Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
From: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
To: pgsql-hackers@postgresql.org
Date: 2023-12-27T21:51:26Z
Lists: pgsql-hackers
Attachments
- 0001-Fix-typos-in-comments.patch (text/x-diff)
Hi folks, I was playing around with the `typos` tool (https://github.com/crate-ci/typos), and thought I'd run it on the posgres repo for fun. After a bit of tweaking to get rid of most false positives (see separately attached .typos.toml file), it came up with a useful set of suggestions, some of which I applied verbatim, others which needed a bit more rewording. Attached is a series of patches. The first one are what I consider obvious, unambiguous fixes to code comments. The subsequent ones are fixes for actual code (variable, function, type names) and docs, one patch per class of typo. As far as I can tell, none of the code changes (except the ECPG one, see below) affect anything exported, so this should not cause any compatibility issues for extensions. The ECPG change affects the generated C code, but from my reading of the callers in descriptor.c and ecpg.trailer, any code that would have caused it to encounter the affected enum value would fail to compile, so either the case is not possible, or nobody actually uses whatever syntax is affected (I don't know enough about ECPG to tell without spending far too much time digging in the code). - ilmari
Commits
-
doc: fix typo "vertexes" -> "vertices"
- 793ecff7df80 17.0 landed
-
Fix some typos
- 359a3c586d7f 17.0 landed
-
jsonpath_exec: fix typo "absense" -> "absence"
- 5bc7b33b4e16 17.0 landed
-
libpq: fix typo "occurences" -> "occurrences" in tests
- ff09129bec28 17.0 landed
-
gist: fix typo "split(t)ed" -> "split"
- e62e73f3a2f2 17.0 landed
-
tsquery: fix typo "rewrited" -> "rewritten"
- 591cf626e71b 17.0 landed
-
Fix typos in comments and in one isolation test.
- 0d9937d11856 17.0 landed
-
*** empty log message ***
- 339a5bbfb17e 7.1.1 cited