Use PostmasterRandom(), not random(), for DSM control segment ID. Otherwise, every startup gets the same "random" value, which is definitely not what was intended.
Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/470d886c32efafa1b068b5ca48afafc2198c68d4 Modified Files -------------- src/backend/postmaster/postmaster.c | 3 +-- src/backend/storage/ipc/dsm.c | 3 ++- src/include/postmaster/postmaster.h | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers