Re: max_worker_processes on the standby

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: max_worker_processes on the standby
Date: 2015-07-15 08:57:52
Message-ID: 20150715085751.GD2301@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

Fujii Masao wrote:
> Hi,
>
> "25.5.3. Administrator's Overview" in the document
> -----------------------------------------------------
> The setting of some parameters on the standby will need reconfiguration
> if they have been changed on the primary. For these parameters,
> the value on the standby must be equal to or greater than the value
> on the primary. If these parameters are not set high enough then
> the standby will refuse to start. Higher values can then be supplied
> and the server restarted to begin recovery again. These parameters are:
> max_connections
> max_prepared_transactions
> max_locks_per_transaction
> -----------------------------------------------------
>
> I found that the value of max_worker_processes on the standby also
> must be equal to or greater than the value on the master. So we should
> just add max_worker_processes to this paragraph. Patch attached.

True. Also track_commit_timestamp. Can you add a comment somewhere in
CheckRequiredParameterValues(void) that the set of parameters is listed
in section such-and-such in the docs, so that next time there's a higher
chance that the docs are kept up to date?

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Fujii Masao 2015-07-16 04:07:50 Re: max_worker_processes on the standby
Previous Message Fujii Masao 2015-07-15 04:38:19 max_worker_processes on the standby

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2015-07-15 09:03:07 Re: Support for N synchronous standby servers - take 2
Previous Message Antonin Houska 2015-07-15 08:44:44 Re: Parallel Seq Scan