Use PostmasterRandom(), not random(), for DSM control segment ID.

Robert Haas <rhaas@postgresql.org>

Commit: b1aed95f52f5fea1366f4c4b3a46b5604c6ca1e3
Author: Robert Haas <rhaas@postgresql.org>
Date: 2016-09-20T16:30:38Z
Releases: 9.5.5
Use PostmasterRandom(), not random(), for DSM control segment ID.

Otherwise, every startup gets the same "random" value, which is
definitely not what was intended.

Files