strengthen check for --forkchild in main()

Edit
ID 5051
Title strengthen check for --forkchild in main()
Topic Miscellaneous
Created 2024-06-18 19:52:06
Last modified 2024-07-03 14:18:16 (4 months, 2 weeks ago)
Latest email 2024-07-03 13:25:18 (4 months, 2 weeks ago)
Status
2024-07: Committed
Target version 17
Authors Nathan Bossart (bossartn)
Reviewers Become reviewer
Committer Heikki Linnakangas (heikki)
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/5051
git checkout commitfest/cf/5051
Emails
Refactoring backend fork+exec code
First at 2023-06-18 11:22:33 by Heikki Linnakangas <hlinnaka at iki.fi>
Latest at 2024-07-03 13:25:18 by Heikki Linnakangas <hlinnaka at iki.fi>
Latest attachment (forkchild_check.patch) at 2024-06-17 18:36:00 from Nathan Bossart <nathandbossart at gmail.com>
    Attachment (forkchild_check.patch) at 2024-06-17 18:36:00 from Nathan Bossart <nathandbossart at gmail.com> (Patch: Yes)
    Attachment (v1-0001-Add-child_process_kinds-static-assert.patch) at 2024-03-21 10:31:17 from Jelte Fennema-Nio <postgres at jeltef.nl> (Patch: Yes)
    Attachment (v13-0001-Improve-log-messages-referring-to-background-wor.patch) at 2024-03-13 07:30:27 from Heikki Linnakangas <hlinnaka at iki.fi> (Patch: Yes)
    Attachment (v12-0001-Pass-CAC-as-argument-to-backend-process.patch) at 2024-03-04 09:05:08 from Heikki Linnakangas <hlinnaka at iki.fi> (Patch: Yes)
    Attachment (v11-0001-Redefine-backend-ID-to-be-an-index-into-the-proc.patch) at 2024-02-22 00:37:16 from Heikki Linnakangas <hlinnaka at iki.fi> (Patch: Yes)
    Attachment (v10-0001-Remove-superfluous-pgprocno-field-from-PGPROC.patch) at 2024-02-08 11:19:53 from Heikki Linnakangas <hlinnaka at iki.fi> (Patch: Yes)
    Attachment (v9-0001-Remove-superfluous-pgprocno-field-from-PGPROC.patch) at 2024-02-01 13:54:23 from Heikki Linnakangas <hlinnaka at iki.fi> (Patch: Yes)
    Attachment (v8-0001-Remove-superfluous-pgprocno-field-from-PGPROC.patch) at 2024-01-30 00:08:36 from Heikki Linnakangas <hlinnaka at iki.fi> (Patch: Yes)
    Attachment (v7-0001-Remove-superfluous-pgprocno-field-from-PGPROC.patch) at 2024-01-24 23:51:02 from Heikki Linnakangas <hlinnaka at iki.fi> (Patch: Yes)
    Attachment (v6-0001-Fix-incorrect-comment-on-how-BackendStatusArray-i.patch) at 2024-01-10 12:35:52 from Heikki Linnakangas <hlinnaka at iki.fi> (Patch: Yes)
    Attachment (v5-0001-Pass-CAC-as-argument-to-backend-process.patch) at 2023-12-08 12:33:33 from Heikki Linnakangas <hlinnaka at iki.fi> (Patch: Yes)
    Attachment (v4-0001-Refactor-CreateSharedMemoryAndSemaphores.patch) at 2023-12-01 12:10:03 from Heikki Linnakangas <hlinnaka at iki.fi> (Patch: Yes)
    Attachment (v3-0001-Refactor-CreateSharedMemoryAndSemaphores.patch) at 2023-11-29 23:36:25 from Heikki Linnakangas <hlinnaka at iki.fi> (Patch: Yes)
    Attachment (v2-0001-Pass-background-worker-entry-in-the-parameter-fil.patch) at 2023-10-11 11:12:47 from Heikki Linnakangas <hlinnaka at iki.fi> (Patch: Yes)
    Attachment (0001-Refactor-ListenSocket-array.patch) at 2023-08-29 06:58:48 from Heikki Linnakangas <hlinnaka at iki.fi> (Patch: Yes)
    Attachment (fix-syslogger-closesocket-errors.patch) at 2023-08-28 20:52:15 from Heikki Linnakangas <hlinnaka at iki.fi> (Patch: Yes)
    Attachment (v2-0001-Use-FD_CLOEXEC-on-ListenSockets.patch) at 2023-08-24 11:41:44 from Heikki Linnakangas <hlinnaka at iki.fi> (Patch: Yes)
    Attachment (0001-Allocate-Backend-structs-in-PostmasterContext.patch) at 2023-06-18 11:22:33 from Heikki Linnakangas <hlinnaka at iki.fi> (Patch: Yes)

Annotations

When Who Mail Annotation
2023-10-02 09:25:06 Heikki Linnakangas (heikki) From Heikki Linnakangas <hlinnaka@iki.fi>
at 2023-08-29 06:58:48
The patch is in this message
2023-10-11 11:21:08 Heikki Linnakangas (heikki) From Heikki Linnakangas <hlinnaka@iki.fi>
at 2023-10-11 11:12:47
Latest patch set
History
When Who What
2024-07-03 14:18:16 Nathan Bossart (bossartn) Closed in commitfest 2024-07 with status: Committed
2024-07-03 14:18:16 Nathan Bossart (bossartn) Changed committer to heikki
2024-06-27 14:22:02 Nathan Bossart (bossartn) New status: Ready for Committer
2024-06-27 14:21:55 Nathan Bossart (bossartn) Added bossartn as committer
2024-06-18 19:52:15 Nathan Bossart (bossartn) Changed authors to Nathan Bossart (bossartn)
2024-06-18 19:52:15 Nathan Bossart (bossartn) Changed targetversion to 17
2024-06-18 19:52:06 Nathan Bossart (bossartn) Attached mail thread 7a59b073-5b5b-151e-7ed3-8b01ff7ce9ef@iki.fi
2024-06-18 19:52:06 Nathan Bossart (bossartn) Created patch record
Edit