pgsql: dsm: allow use in single user mode. - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: dsm: allow use in single user mode.
Date
Msg-id E1ncBa4-000cn5-0v@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Stephen Frost
Date:
Subject: pgsql: Forgotten catversion bump for 39969e2a1e4d7f5a37f3ef37d53bbfe171
Next
From: Andres Freund
Date:
Subject: pgsql: pgstat: move transactional code into pgstat_xact.c.