Pass MyPMChildSlot as an explicit argument to child process

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 5b007868577ae18d419c01ee739e5674fa8b2acf
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2024-11-14T14:12:32Z
Releases: 18.0
Pass MyPMChildSlot as an explicit argument to child process

All the other global variables passed from postmaster to child have
the same value in all the processes, while MyPMChildSlot is more like
a parameter to each child process.

Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://www.postgresql.org/message-id/a102f15f-eac4-4ff2-af02-f9ff209ec66f@iki.fi

Files

Discussion