pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Reject huge_pages=on if shared_memory_type=sysv.
Date: Tue, 26 Oct 2021 00:15:41 +0000
Message-ID: <E1mfA7x-0003Zm-G9@gemulon.postgresql.org> (raw)

Reject huge_pages=on if shared_memory_type=sysv.

It doesn't work (it could, but hasn't been implemented).
Back-patch to 12, where shared_memory_type arrived.

Reported-by: Alexander Lakhin <exclusion@gmail.com>
Reviewed-by: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/163271880203.22789.1125998876173795966@wrigleys.postgresql.org

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/181361a0c2fec635de10e101f683da9bddbb8178

Modified Files
--------------
doc/src/sgml/config.sgml      | 4 +++-
src/backend/port/sysv_shmem.c | 6 ++++++
2 files changed, 9 insertions(+), 1 deletion(-)



view thread (4+ messages)  latest in thread

Message-ID: <E1mfA7x-0003Zm-G9@gemulon.postgresql.org>
Permalink:  ../E1mfA7x-0003Zm-G9@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mfA7x-0003Zm-G9@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: tmunro@postgresql.org
  Subject: Re: pgsql: Reject huge_pages=on if shared_memory_type=sysv.
  In-Reply-To: <E1mfA7x-0003Zm-G9@gemulon.postgresql.org>
  References: <E1mfA7x-0003Zm-G9@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