Re: Typos in the code and README

Alexander Lakhin <exclusion@gmail.com>

From: Alexander Lakhin <exclusion@gmail.com>
To: Michael Paquier <michael@paquier.xyz>, David Rowley <dgrowleyml@gmail.com>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2026-04-19T19:00:00Z
Lists: pgsql-hackers
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

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Fix typo in planner.c

  2. Fix meson build of snowball code.

  3. Update to latest Snowball sources.

  4. Remove unneeded defines from pg_config.h.in

  5. Fix typos and inconsistencies in code and comments

  6. Fix a few more duplicate words in comments

  7. Fix a few duplicate words in comments

  8. Fix typos and grammar in the code

  9. Fix an assortment of spelling mistakes and typos

  10. Fix inconsistent LWLock tranche name "CommitTsSLRU"

  11. Fix typos in code comments and test data

  12. Fix typos and grammar in code comments and docs

  13. Fix a series of typos and outdated references

  14. Optimize InvalidateAttoptCacheCallback() and TypeCacheTypCallback()

  15. pg_upgrade: Remove unused macro

  16. pgcrypto: Remove unused binary from clean target

  17. Fix an assortment of typos

  18. Fix duplicated consecutive words in comments

  19. Remove unused function prototype

  20. Fix incorrect parameter name in prototype

  21. Fix typos and duplicate words

  22. Speedup 2PC recovery by skipping two phase state files in normal path

  23. Two-phase commit. Original patch by Heikki Linnakangas, with additional