Get rid of the dynamic shared memory state file.

Robert Haas <rhaas@postgresql.org>

Commit: 11a65eed1637a05b03e174700799b024e104bfb4
Author: Robert Haas <rhaas@postgresql.org>
Date: 2014-04-08T15:39:55Z
Releases: 9.4.0
Get rid of the dynamic shared memory state file.

Instead of storing the ID of the dynamic shared memory control
segment in a file within the data directory, store it in the main
control segment.  This avoids a number of nasty corner cases,
most seriously that doing an online backup and then using it on
the same machine (e.g. to fire up a standby) would result in the
standby clobbering all of the master's dynamic shared memory
segments.

Per complaints from Heikki Linnakangas, Fujii Masao, and Tom
Lane.

Files