Re: allowing wal_level change at run time

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: allowing wal_level change at run time
Дата
Msg-id CA+Tgmob11z9d5RTxrTCqUaJWuZboTv93C_mEj0eHC54EDnq+PQ@mail.gmail.com
обсуждение исходный текст
Ответ на allowing wal_level change at run time  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: allowing wal_level change at run time  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Tue, Aug 18, 2015 at 7:59 AM, Peter Eisentraut <peter_e@gmx.net> wrote:
> How would we handle decreases at run time?  We can prevent >=archive ->
> minimal if archiving is running or there are physical replication slots,
> and we can prevent logical -> something less if there are logical
> replication slots, but AFAICT, we don't have a way to check whether
> anyone currently needs level hot_standby.

What do you mean by "prevent"?  If the user edits postgresql.conf and
reduces the setting, and then reloads the configuration file, they
have a right to expect that the changes got applied.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: allowing wal_level change at run time
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Test code is worth the space