pgsql: Further adjustment to random() seed initialization.

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема pgsql: Further adjustment to random() seed initialization.
Дата
Msg-id E1gN9RA-0005d2-Q4@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Increase the number of possible random seeds per time period.
Следующее
От: Amit Kapila
Дата:
Сообщение: pgsql: Fix the omission in docs.