pgsql: Use PostmasterRandom(), not random(), for DSM control segment ID

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Use PostmasterRandom(), not random(), for DSM control segment ID
Дата
Msg-id E1bmNyY-0007S8-Hv@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Retry DSM control segment creation if Windows indicates access d
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Use PostmasterRandom(), not random(), for DSM control segment ID