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

Robert Haas <rhaas@postgresql.org>

Commit: 626312d1b3ee0c94f7ed685f751878d810ab53fc
Author: Robert Haas <rhaas@postgresql.org>
Date: 2016-09-20T16:30:42Z
Releases: 9.4.10
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