Thank you for finding and fixing this.
At Sat, 15 Sep 2018 18:21:52 -0400, Tom Lane <tgl@sss.pgh.pa.us> wrote in <15555.1537050112@sss.pgh.pa.us>
> Noah Misch <noah@leadboat.com> writes:
> > Usually, the first srandom() call happens early in PostmasterMain(). I plan
> > to add one to InitStandaloneProcess(), which substitutes for several tasks
> > otherwise done in PostmasterMain(). That seems like a good thing even if DSM
> > weren't in the picture. Also, initdb needs an srandom() somewhere;
> > choose_dsm_implementation() itself seems fine. Attached.
>
> +1, but some comments would be good.
>
> regards, tom lane
>
+1, too.
regards.
--
Kyotaro Horiguchi
NTT Open Source Software Center