pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: dsm: allow use in single user mode.
Date: Wed, 06 Apr 2022 19:44:40 +0000
Message-ID: <E1ncBa4-000cn5-0v@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1ncBa4-000cn5-0v@gemulon.postgresql.org>
Permalink:  ../E1ncBa4-000cn5-0v@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ncBa4-000cn5-0v@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: dsm: allow use in single user mode.
  In-Reply-To: <E1ncBa4-000cn5-0v@gemulon.postgresql.org>
  References: <E1ncBa4-000cn5-0v@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox