Re: Typos in the code and README
Alexander Lakhin <exclusion@gmail.com>
Hello hackers,
Please look at another set of typos and inconsistencies introduced since
2026-01-01:
AttNumber -> AttrNumber
attytypids, attytypmods -> atttypids, atttypmods
AX handle -> AH handle
big5_to_mic -> remove
(following 77645d44e)
bk_category -> bkcategory
(per postmaster/proctypelist.h)
BufferLockRelease -> BufferLockReleaseSub
build_index_scan -> build_index_scankeys
cacheoffset -> attcacheoff
(see index_getattr())
containg -> containing
Controlfile -> ControlFile
DataChecksumShmemRequest -> DataChecksumsShmemRequest
DataChecksumsLauncher -> DataChecksumsWorkerLauncherMain
(DataChecksumsWorkerLauncherMain() calls SetDataChecksumsOn(), which calls
EmitProcSignalBarrier())
Datachecksumsworker -> DataChecksumsWorker
dc_fake_temptable, dc_modify_db_result -> remove
(the implementation was removed in 07009121c)
determing -> determining
doublecheck -> double-check
Doublecheck -> Double-check
element_patterns -> path_pattern
(align with the implementation)
endTruncOff, endTruncMemb -> oldestMulti, oldestOffset
(align with the implementation)
expr_nulls[] -> remove
(exprs_nulls[] was removed in
v2jsonb-0001-Add-support-for-exprs-in-pg_restore_extended.patch [1])
forPortionOfClause -> forPortionOf
(align with the implementation)
HeaptupleSatisfiesMVCC -> HeapTupleSatisfiesMVCC
hintbits -> hint bits
hostsfile -> hosts file
idenifier -> identifier
io_worker_launch_delay -> io_worker_launch_interval
(named io_worker_launch_delay in [2], but this name is absent in
v7-0001-aio-Adjust-I-O-worker-pool-size-automatically.patch attached
there)
load_from_disk_pending -> stashes_ready
(cf. "if (pg_atomic_unlocked_test_flag(&pgsa_state->stashes_ready))"
below)
LockManagerShmemSize -> remove the referencing sentence?
(following 9b5acad3f)
nonprivileged -> non-privileged
option_values -> option_value
oveflows -> overflows
path_pattern_lists -> path_elem_lists
paralell -> parallel
pg_buffercache_mark_dirt_relation -> pg_buffercache_mark_dirty_relation
pgpa_relation_identifier -> pgpa_identifier
pgstat_activity -> pg_stat_activity
pg_statistic.ext_data -> pg_statistic_ext_data
precalculated -> pre-calculated
PredicateLockShmemSize -> remove the referencing sentence?
(following 2e0943a85)
queryID -> Query ID
rel_dst -> cc_rel
(rel_dst existed in
v25-0004-Add-CONCURRENTLY-option-to-REPACK-command.patch [3], but then got
transformed into dest->rel in v26 [4] and then renamed to cc_rel)
relfrozen -> relfrozenxid
(as in other occurrences "relfrozenxid/relminmxid")
replorigin_session_origin -> replorigin_xact_state.origin
ResOwnerReleaseBufferPin -> ResOwnerReleaseBuffer
(see fcb9c977a)
RewriteGraphTable -> rewriteGraphTable
RTEkind -> RTE kind
SetHintBitExt -> SetHintBitsExt
signedess -> signedness
statsare -> stats are
SubPlanInfo -> SubPlanRTInfo
SubRTInfo -> SubPlanRTInfo
subsystemslist.h -> subsystemlist.h
swicthed -> switched
tablespacenames -> tablespace names
TABLE_UPDATE_WAIT -> remove the mention
("#define TABLE_UPDATE_WAIT" existed in
v46-0002-Add-CONCURRENTLY-option-to-REPACK-command.patch, but it was
removed in v47 [6].)
targetExpr -> targetRange
(see the code below)
testcluster -> test cluster
themself -> themselves
tkeys -> rids
truncation_block -> truncation_block_length
tupleTableSlot -> TupleTableSlot
VacAttrStatP -> VacAttrStatsP
XLOGShmemSize -> XLOGShmemRequest
(XLOGShmemRequest modifies wal_buffers)
[1] https://www.postgresql.org/message-id/CADkLM%3Ddu%2BOcctrsTk%2BhZryUGy%3D0OnPep-3LdGzut1nqF391%2BEg%40mail.gmail.com
[2] https://www.postgresql.org/message-id/CA%2BhUKGK%3DvELXFXNj2L%3DvTkof6s_EQzTjYXXrUVwOOW0rahEfVg%40mail.gmail.com
[3] https://www.postgresql.org/message-id/202510301734.pj4uds3mqxx4%40alvherre.pgsql
[4] https://www.postgresql.org/message-id/116433.1764870207%40localhost
[5] https://www.postgresql.org/message-id/202603292157.tnqxaozfjlkh%40alvherre.pgsql
[6] https://www.postgresql.org/message-id/202603311523.iqhng5ljkzpq%40alvherre.pgsql
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