Re: Fix typos and inconsistencies for v16
Alexander Law <exclusion@gmail.com>
Attachments
- typo-fixes-for-v15+.1-10.patch (text/x-patch) patch
- typo-fixes-for-v15+.11-20.patch (text/x-patch) patch
- typo-fixes-for-v15+.21-30.patch (text/x-patch) patch
- typo-fixes-for-v15+.31-36.patch (text/x-patch) patch
Hi Justin and David, 18.04.2023 01:10, Justin Pryzby wrote: > Well done. Thank you for reviewing! > On Mon, Apr 17, 2023 at 09:00:00PM +0300, Alexander Lakhin wrote: >> Hello hackers, >> >> Please consider fixing the following unique words/identifiers introduced in v16: > Note that your patches are overlapping: > ... > It'd make sense if the changes to each file were isolated to a single > patch (especially 004_load and acl.c). I'd hoped that most of the proposed fixes will be accepted, so conflicts due to skipping of some changes seemed unlikely to me. So if you are not strongly disagree, I would continue presenting my findings the same way. > ... > You missed "boostrap" :) Yes, that's because "boostrap" was not unique, but my semi-automatic approach is based on `uniq -u`, so I'm sure that there are typos that can't be found this way. > But hadn't yet convinced myself to start the process of defending each > one of the fixes. Attached some others that I found. Yeah, those are good catches too, but e. g. "privilges" is not new in v16, so it's fallen out of my "hot errors" category. If we're going to fix not so hot ones too now, please look at the similar list for v15+ (596b5af1d..HEAD). 1. abbrevated -> abbreviated 2. ArchiveModeRequested -> ArchiveRecoveryRequested 3. BufFileOpenShared -> BufFileOpenFileSet // see dcac5e7ac 4. check_publication_columns -> pub_collist_contains_invalid_column // see note 1 5. configuation -> configuration 6. copyAclUserName -> dequoteAclUserName // see 0c9d84427 7. EndWalRecovery -> FinishWalRecovery 8. HaveRegisteredOrActiveSnapshots -> HaveRegisteredOrActiveSnapshot 9. idiosyncracies -> idiosyncrasies 10. iif -> iff 11. initpriv -> initprivs 12. inserted_destrel -> insert_destrel 13. Intialize -> Initialize 14. invtrans -> invtransfn 15. isolation-level -> isolation level 16. lefthasheqoperator -> left_hasheqoperator + righthasheqoperator -> right_hasheqoperator 17. LRQ_NO_IO -> LRQ_NEXT_NO_IO 18. minRecovery point -> minRecoveryPoint 19. multidimensional-aware -> multidimension-aware // sync with gistbuild.c 20. ParalleVacuumState -> ParallelVacuumState 21. PgStatShm_Stat*Entry -> PgStatShared_* // see note 2 22. plpython_call_handler -> plpython3_call_handler // see 9b7e24a2c 23. pulications -> publications 24. ReadCheckPointRecord -> ReadCheckpointRecord 25. relkkinds -> relkinds 26. separare -> separate // though perhaps it's not the most suitable word here 27. setup_formatted_log_time -> get_formatted_log_time // see ac7c80758 28. SPI_abort -> SPI_rollback 29. ssup_datum_int32_compare -> ssup_datum_int32_cmp 30. ssup_datum_signed_compare -> ssup_datum_signed_cmp 31. ssup_datum_unsigned_compare -> ssup_datum_unsigned_cmp 32. SUBSCRITPION -> SUBSCRIPTION 33. tabelspaces -> tablespaces 34. table_state_not_ready -> table_states_not_ready 35. underling -> underlying 36. WalRecoveryResult -> EndOfWalRecoveryInfo Also, I'd like to note that the following entities/references are orphaned now, so maybe some of them could be removed too: 1. gen-rtab (in pgcrypto/Makefile) // orphaned since db7d1a7b0 2. pgstat_temp_directory // was left by b3abca681 for v15, but maybe it's time to remove it for v16 3. pgstat_write_statsfiles (in valgrind.supp) 4. quote_system_arg (in vcregress.pl) // unused since d2a2ce418 5. standard_initdb (in vcregress.pl) // unused since 322becb60 /* though maybe vcregress.pl will be removed completely soon */ 6. int pstat; /* mcrypt uses it */ (in contrib/pgcrypto/px.h) /* "mcrypt" became unique after abe81ee08, support for libmcrypt was removed at 2005 (3cc866123) */ Note 1. A check that was located in check_publication_columns() in v13-0003-Add-column-filtering-to-logical-replication.patch [1], can be found in pub_collist_contains_invalid_column() now (see also [2]). Note 2. The inconsistency appeared in [3], v67-0007-pgstat-store-statistics-in-shared-memory.patch was correct in this aspect. 18.04.2023 04:35, David Rowley wrote: >> Please consider fixing the following unique words/identifiers introduced in v16: > Thanks, I've pushed all of these apart from the following 2. Thank you! [1] https://www.postgresql.org/message-id/202112302021.ca7ihogysgh3%40alvherre.pgsql [2] https://www.postgresql.org/message-id/CAA4eK1K5pkrPT9z5TByUPptExian5c18g6GnfNf9Cr97QdPbjw%40mail.gmail.com [3] https://www.postgresql.org/message-id/20220404041516.cctrvpadhuriawlq%40alap3.anarazel.de Best regards, Alexander
Commits
-
Fix typo with wait event for SLRU buffer of commit timestamps
- cedcc4191847 13.11 landed
- ae4ffa7227f6 14.8 landed
- d31dab9a541c 15.3 landed
- 58f5edf84990 16.0 landed
-
Fix typos in comments
- 8961cb9a0315 16.0 landed
-
doc: Fix typo in pg_amcheck for term "schema"
- 43beaa2fb16b 14.8 landed
- 77ea05406cb6 15.3 landed
- 6fd8ae688884 16.0 landed
-
Remove unused global variable
- 84e05beb1113 16.0 landed
-
Fix incorrect function name reference
- d91d1635292a 16.0 landed
-
Fix various typos and incorrect/outdated name references
- 3f58a4e2960a 16.0 landed
-
Fix some typos and some incorrectly duplicated words
- eef231e8161e 16.0 landed
-
Fix various typos
- b4dbf3e924b2 16.0 landed
-
Improve GIN cost estimation
- cd9479af2af2 16.0 cited
-
Refactor LogicalTapeSet/LogicalTape interface.
- c4649cce39a4 15.0 cited
-
Refactor sharedfileset.c to separate out fileset implementation.
- dcac5e7ac157 15.0 cited
-
Multirange datatypes
- 6df7a9698bb0 14.0 cited
-
Copy editing: fix a bunch of misspellings and poor wording.
- 9436041ed848 14.0 cited
-
Implement operator class parameters
- 911e70207703 13.0 cited
-
Various improvements of skipping index scan during vacuum technics
- 8e12f4a250d2 11.0 cited