pgsql: dsm: allow use in single user mode.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: dsm: allow use in single user mode.
Дата
Msg-id E1ncBa4-000cn5-0v@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
dsm: allow use in single user mode.

It might seem pointless to allow use of dsm in single user mode, but otherwise
subsystems might need dedicated single user mode code paths.

Besides changing the assert, all that's needed is to make some windows code
assuming the presence of postmaster conditional.

Author: Andres Freund <andres@anarazel.de>
Reviewed-By: Thomas Munro <thomas.munro@gmail.com>
Discussion: https://postgr.es/m/CA+hUKGL9hY_VY=+oUK+Gc1iSRx-Ls5qeYJ6q=dQVZnT3R63Taw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/46a2d2499a647174585fcfe871ddd2d32244a128

Modified Files
--------------
src/backend/storage/ipc/dsm.c      | 9 +++++++--
src/backend/storage/ipc/dsm_impl.c | 6 ++++--
2 files changed, 11 insertions(+), 4 deletions(-)


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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: pgsql: Forgotten catversion bump for 39969e2a1e4d7f5a37f3ef37d53bbfe171
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: pgstat: move transactional code into pgstat_xact.c.