Re: Doc: shared_memory_size_in_huge_pages with the "SHOW" command.

David G. Johnston <david.g.johnston@gmail.com>

From: "David G. Johnston" <david.g.johnston@gmail.com>
To: Seino Yuki <seinoyu@oss.nttdata.com>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2024-10-16T01:46:44Z
Lists: pgsql-hackers
On Friday, October 11, 2024, Seino Yuki <seinoyu@oss.nttdata.com> wrote:

>
>
> The current documentation explains the use of the postgres -C command,
> but this method may be limited in DBaaS or managed service environments.
> In particular, CloudNativePG does not allow the server to be stopped,
> making the execution of $ postgres -C impossible.


If your environment doesn’t allow shutting down the Postgres service it
seems highly unlikely you’d be able to perform the other low-level
operating system actions required here as well.

I think the wording is fine as-is, though for consistency with an earlier
mention on the page we could instead write:

This parameter can be viewed before starting the server with a postgres command
like:

David J.

Commits

  1. Adjust documentation for configuring Linux huge pages.