On Mon, Oct 8, 2018 at 1:17 AM Thomas Munro <thomas.mu...@enterprisedb.com> wrote: > That's because the bgworker startup path doesn't contain a call to > srandom(...distinguishing stuff...), unlike BackendRun(). I suppose > do_start_bgworker() could gain a similar call... or perhaps that call > should be moved into InitPostmasterChild(). If we put it in there > right after MyStartTime is assigned a new value, we could use the same > incantation that PostmasterMain() uses. > > I noticed that the comment in PostmasterMain() refers to > PostmasterRandom(), which is gone.
Maybe something like this? -- Thomas Munro http://www.enterprisedb.com
move-srandom.patch
Description: Binary data