Converting tab-complete.c's else-if chain to a switch

Edit
ID 5123
Title Converting tab-complete.c's else-if chain to a switch
Topic Refactoring
Created 2024-07-13 17:18:21
Last modified 2024-10-07 16:39:49 (2 months ago)
Latest email 2024-10-10 21:04:46 (1 month, 4 weeks ago)
Status
2024-11: Committed
2024-09: Moved to next CF
Target version
Authors Tom Lane (tgl)
Reviewers Become reviewer
Committer Tom Lane (tgl)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/5123
git checkout commitfest/cf/5123
Emails
Converting tab-complete.c's else-if chain to a switch
First at 2024-07-11 20:25:02 by Tom Lane <tgl at sss.pgh.pa.us>
Latest at 2024-10-10 21:04:46 by Tom Lane <tgl at sss.pgh.pa.us>
Latest attachment (cov.diff) at 2024-10-10 18:25:18 from Jacob Champion <jacob.champion at enterprisedb.com>
    Attachment (cov.diff) at 2024-10-10 18:25:18 from Jacob Champion <jacob.champion at enterprisedb.com> (Patch: Yes)
    Attachment (v1-0001-Fix-psql-segfault-on-word-completion-without-matc.patch) at 2024-10-10 07:22:12 from Anthonin Bonnefoy <anthonin.bonnefoy at datadoghq.com> (Patch: Yes)
    Attachment (v3-0001-Invent-MatchAnyN-option-for-tab-complete.c-s-Matc.patch) at 2024-07-26 20:02:47 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (v2-0001-Invent-MatchAnyN-option-for-tab-complete.c-s-Matc.patch) at 2024-07-16 20:25:48 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (v1-0001-Invent-MatchAnyN-option-for-tab-complete.c-s-Matc.patch) at 2024-07-13 17:16:14 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
History
When Who What
2024-10-07 16:39:49 Tom Lane (tgl) Closed in commitfest 2024-11 with status: Committed
2024-10-07 16:39:49 Tom Lane (tgl) Changed committer to tgl
2024-10-04 19:13:21 Tom Lane (tgl) Closed in commitfest 2024-09 with status: Moved to next CF
2024-07-13 17:18:37 Tom Lane (tgl) Changed authors to Tom Lane (tgl)
2024-07-13 17:18:21 Tom Lane (tgl) Attached mail thread 2208466.1720729502@sss.pgh.pa.us
2024-07-13 17:18:21 Tom Lane (tgl) Created patch record
Edit