Re: Typos in the code and README
David Rowley <dgrowleyml@gmail.com>
Attachments
- remaining_typos.patch (application/octet-stream) patch
(I know Daniel mentioned he'd get to these, but the ScanDirection one was my fault and I needed to clear that off my mind. I did a few others while on this topic.) On Fri, 5 Jul 2024 at 05:00, Alexander Lakhin <exclusion@gmail.com> wrote: > Please look at another bunch of inconsistencies/orphaned entities I found > in the tree, with the possible substitutions: > errmsg_buf -> errormsg_buf > (coined by 6b18b3fe2) Fixed. > NoMovementScanDirectionScans -> NoMovementScanDirection > (introduced with e9aaf0632, discussed in [1], but still seems inaccurate) Oops. Fixed. > XLogReadRecordInternal -> XLogReadRecord > (from 3f1ce9734, align with a comment above: "Start and end point of last > record returned by XLogReadRecord().") Fixed. > BYPASS_ALLOWCONN -> BGWORKER_BYPASS_ROLELOGINCHECK (see 492217301) Fixed > xs_ctup.t_self -> xs_heaptid (see c2fe139c2 and 304532421) Fixed. > pgStatShmLookupCache -> pgStatLocal.shmem (coined by 5891c7a8e) Fixed. > smgr_fsm_nblocks and smgr_vm_nblocks -> smgr_cached_nblocks > (see the same comment updated by c5315f4f4) Heikki fixed in 19de089cd. > XID becomes older than GlobalXmin -> XID becomes visible to everyone > (in accordance with dc7420c2c9 src/backend/access/gist/gistutil.c) I'd need to spend more time to understand this. > gen-rtab - remove (non-existing since db7d1a7b0) Daniel fixed in cc59f9d0f. > BARRIER_SHOULD_CHECK - remove (unused since a3ed4d1ef) I wasn't sure if nothing else external could be using this. The macro doesn't use any fields that are now gone, so I'm not confident enough to remove it. Can Robert confirm? > EXE_EXT - remove (unused since f06b1c598) Daniel fixed in 88e3da565. > endterm - remove > (see 60c90c16c -- Use xreflabel attributes instead of endterm ...) I read that commit message and I agree it's now unused. I just didn't get any vibes from the commit message that it shouldn't ever be used again. Can Tom confirm? > xl_commit_ts_set, SizeOfCommitTsSet - remove (unused since 08aa89b32) I would say it should be removed. I just didn't because the commit I had pending fitted into the "typos" category and this didn't quite fit. I've attached a patch with the remainder. David
Commits
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix typo in planner.c
- ae283736025c 19 (unreleased) landed
-
Fix meson build of snowball code.
- b85d5dc0e7e9 19 (unreleased) landed
-
Update to latest Snowball sources.
- 7dc95cc3b94f 19 (unreleased) landed
-
Remove unneeded defines from pg_config.h.in
- 7d854bdc5b72 19 (unreleased) landed
-
Fix typos and inconsistencies in code and comments
- b8cfcb9e00da 19 (unreleased) landed
-
Fix a few more duplicate words in comments
- 78eda9e2648a 18.0 landed
-
Fix a few duplicate words in comments
- 84fd3bc14103 18.0 landed
-
Fix typos and grammar in the code
- 88e947136b47 18.0 landed
-
Fix an assortment of spelling mistakes and typos
- 11012c503759 18.0 landed
-
Fix inconsistent LWLock tranche name "CommitTsSLRU"
- 07b828e9d4aa 17.0 landed
- 08b9b9e043bb 18.0 landed
-
Fix typos in code comments and test data
- 31a98934d169 18.0 landed
-
Fix typos and grammar in code comments and docs
- 4236825197e8 18.0 landed
-
Fix a series of typos and outdated references
- ffabb56c9460 18.0 landed
-
Optimize InvalidateAttoptCacheCallback() and TypeCacheTypCallback()
- 40064a8ee1b3 18.0 cited
-
pg_upgrade: Remove unused macro
- 88e3da5658c5 18.0 landed
-
pgcrypto: Remove unused binary from clean target
- cc59f9d0ff27 18.0 landed
-
Fix an assortment of typos
- a42fc1c903b5 17.0 landed
-
Fix duplicated consecutive words in comments
- 310cd8ab386c 17.0 landed
-
Remove unused function prototype
- f6e845133630 17.0 landed
-
Fix incorrect parameter name in prototype
- 9c58bf1507be 17.0 landed
-
Fix typos and duplicate words
- 950d4a2cb1d5 17.0 landed
-
Speedup 2PC recovery by skipping two phase state files in normal path
- 728bd991c3c4 10.0 cited
-
Two-phase commit. Original patch by Heikki Linnakangas, with additional
- d0a89683a3a4 8.1.0 cited