Re: Typos in the code and README
Alexander Lakhin <exclusion@gmail.com>
Attachments
- fix-inconsistencies.patch (text/x-patch) patch
Hello hackers, 03.05.2024 17:36, David Rowley wrote: > I pushed the patch after only adjusting the path in the docs which had > "module" rather than "modules". 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) NoMovementScanDirectionScans -> NoMovementScanDirection (introduced with e9aaf0632, discussed in [1], but still seems inaccurate) XLogReadRecordInternal -> XLogReadRecord (from 3f1ce9734, align with a comment above: "Start and end point of last record returned by XLogReadRecord().") BYPASS_ALLOWCONN -> BGWORKER_BYPASS_ROLELOGINCHECK (see 492217301) xs_ctup.t_self -> xs_heaptid (see c2fe139c2 and 304532421) pgStatShmLookupCache -> pgStatLocal.shmem (coined by 5891c7a8e) smgr_fsm_nblocks and smgr_vm_nblocks -> smgr_cached_nblocks (see the same comment updated by c5315f4f4) XID becomes older than GlobalXmin -> XID becomes visible to everyone (in accordance with dc7420c2c9 src/backend/access/gist/gistutil.c) gen-rtab - remove (non-existing since db7d1a7b0) BARRIER_SHOULD_CHECK - remove (unused since a3ed4d1ef) EXE_EXT - remove (unused since f06b1c598) endterm - remove (see 60c90c16c -- Use xreflabel attributes instead of endterm ...) xl_commit_ts_set, SizeOfCommitTsSet - remove (unused since 08aa89b32) The corresponding patch is attached for your convenience. [1] https://www.postgresql.org/message-id/20230131140224.7j6gbcsfwmad2a4b%40liskov Best regards, Alexander
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