Re: How to _not_ save startup options in postmaster.opts?

Поиск
Список
Период
Сортировка
От Ron
Тема Re: How to _not_ save startup options in postmaster.opts?
Дата
Msg-id 16b8d553-b18c-40ee-8cbc-7eed208c1474@gmail.com
обсуждение исходный текст
Ответ на Re: How to _not_ save startup options in postmaster.opts?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-admin
On 11/2/23 12:24, David G. Johnston wrote:

Alas, those config values are remembered in postmaster.opts.  But I don't want that.

I don’t know where this file is even documented ATM but my understanding is it just shows you the values used during the last startup.  It doesn’t remember anything in any real sense because it isn’t used by the system to determine what those parameter values should be during startup.

https://pgpedia.info/p/postmaster.opts.html

"postmaster.opts is a file in the data directory written after startup which contains the options used to start the postmaster process. The contents of postmaster.opts are used to ensure the postmaster process can be restarted with the same options with which it was originally started."

I've confirmed this behavior, which I why I wrote the email.


Use the -c functionality for your manual maintenance boots and just let the normal startup mechanism do whatever it does when you re-engage it.

David J.


--
Born in Arizona, moved to Babylonia.

В списке pgsql-admin по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How to _not_ save startup options in postmaster.opts?
Следующее
От: Ron
Дата:
Сообщение: Re: How to _not_ save startup options in postmaster.opts?