pgsql: Introduce GUC shared_memory_size

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Introduce GUC shared_memory_size
Date: 2021-09-08 03:02:54
Message-ID: E1mNnrS-0001IV-Oa@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Introduce GUC shared_memory_size

This runtime-computed GUC shows the size of the server's main shared
memory area, taking into account the amount of shared memory allocated
by extensions as this is calculated after processing
shared_preload_libraries.

Author: Nathan Bossart
Discussion: https://postgr.es/m/F2772387-CE0F-46BF-B5F1-CC55516EB885@amazon.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bd1788051b02cfddcd9ef0e2fd094972f372b8fd

Modified Files
--------------
doc/src/sgml/config.sgml | 14 ++++++++++++++
src/backend/postmaster/postmaster.c | 7 +++++++
src/backend/storage/ipc/ipci.c | 22 ++++++++++++++++++++++
src/backend/utils/misc/guc.c | 12 ++++++++++++
src/include/storage/ipc.h | 1 +
5 files changed, 56 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2021-09-08 05:23:17 pgsql: Fix compilation warning in ipci.c
Previous Message Michael Paquier 2021-09-08 01:00:37 pgsql: Clean up some code using "(expr) ? true : false"