On Wed, Sep 19, 2018 at 01:03:44PM +0900, Kyotaro HORIGUCHI wrote:
> 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.
> +1, too.
Thanks for reviewing. I pushed with some comments.