Re: Typos in the code and README

Alexander Lakhin <exclusion@gmail.com>

From: Alexander Lakhin <exclusion@gmail.com>
To: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Cc: David Rowley <dgrowleyml@gmail.com>, Daniel Gustafsson <daniel@yesql.se>, Heikki Linnakangas <hlinnaka@iki.fi>, Michael Paquier <michael@paquier.xyz>
Date: 2025-01-01T16:00:01Z
Lists: pgsql-hackers

Attachments

Hello hackers,

03.09.2024 08:51, Michael Paquier wrote:
> And done that.

Please look at another collection of typos and inconsistencies introduced
during 2024:
behvior -> behavior

contraint -> constraint

curent -> current

disable_node -> disabled_nodes

disabled_node > disabled_nodes

disable_nodes -> disabled_nodes

FindFkPeriodOpers -> FindFKPeriodOpers

heap_inplace_update -> heap_inplace_update_and_unlock

InitLocks -> LockManagerShmemInit? (see fbce7dfc7)

isReadOnly -> IsReadOnly

negotations -> negotiations

notnull_inh -> notnull_islocal (coined by 14e87ffa5)

num_word -> just remove an old-fashioned comment? or change to
  append_num_word (see 5bf948d56)

objectAddress -> ObjectAddress

orderProc -> orderProcs

pg_visibilitymap.c -> visibilitymap.c

postitional_fcinfo -> positional_fcinfo

preserve_formatting -> preserve_comments (see 995e0fbc1)

procesess -> processes

trapper -> trapped

trasformed -> transformed

vac_update_datfrozenid -> vac_update_datfrozenxid

XLPH_HAS_* -> XLHP_HAS_*

XLogRecordInsert -> XLogInsertRecord (coined by afd12774a)

Please find attached the corresponding patch for your convenience.

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