git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: e99546f) | patch
dsm: allow use in single user mode.
Wed, 6 Apr 2022 19:40:04 +0000 (12:40 -0700)
Wed, 6 Apr 2022 19:40:04 +0000 (12:40 -0700)
commit 46a2d2499a647174585fcfe871ddd2d32244a128
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
src/backend/storage/ipc/dsm.c diff | blob | blame | history
src/backend/storage/ipc/dsm_impl.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /