pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Use PostmasterRandom(), not random(), for DSM control segment ID
4+ messages / 1 participants
[nested] [flat]

* pgsql: Use PostmasterRandom(), not random(), for DSM control segment ID
@ 2016-09-20 16:32 Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Robert Haas @ 2016-09-20 16:32 UTC (permalink / raw)
  To: pgsql-committers

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


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Use PostmasterRandom(), not random(), for DSM control segment ID
@ 2016-09-20 16:32 Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Robert Haas @ 2016-09-20 16:32 UTC (permalink / raw)
  To: pgsql-committers

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
------
REL9_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/92668cd4d3df5a7a48408fc722e876a3e1c167d9

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


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Use PostmasterRandom(), not random(), for DSM control segment ID
@ 2016-09-20 16:32 Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Robert Haas @ 2016-09-20 16:32 UTC (permalink / raw)
  To: pgsql-committers

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
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/b1aed95f52f5fea1366f4c4b3a46b5604c6ca1e3

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


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Use PostmasterRandom(), not random(), for DSM control segment ID
@ 2016-09-20 16:32 Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Robert Haas @ 2016-09-20 16:32 UTC (permalink / raw)
  To: pgsql-committers

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
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/626312d1b3ee0c94f7ed685f751878d810ab53fc

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


^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2016-09-20 16:32 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-09-20 16:32 pgsql: Use PostmasterRandom(), not random(), for DSM control segment ID Robert Haas <rhaas@postgresql.org>
2016-09-20 16:32 pgsql: Use PostmasterRandom(), not random(), for DSM control segment ID Robert Haas <rhaas@postgresql.org>
2016-09-20 16:32 pgsql: Use PostmasterRandom(), not random(), for DSM control segment ID Robert Haas <rhaas@postgresql.org>
2016-09-20 16:32 pgsql: Use PostmasterRandom(), not random(), for DSM control segment ID Robert Haas <rhaas@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox