pgsql: Further adjustment to random() seed initialization. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Further adjustment to random() seed initialization.
Date
Msg-id E1gN9RA-0005d2-Q4@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Further adjustment to random() seed initialization.

Per complaint from Tom Lane, don't chomp the timestamp at 32 bits, so we
can shift in some of its higher bits.

Discussion: https://postgr.es/m/14712.1542253115%40sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ab8984f52d9b99234d23e6fb7b73cf4c12b3ac14

Modified Files
--------------
src/backend/postmaster/postmaster.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Increase the number of possible random seeds per time period.
Next
From: Amit Kapila
Date:
Subject: pgsql: Fix the omission in docs.