Re: max_connections and standby server - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: max_connections and standby server
Date
Msg-id 20150811.144718.2305257792591832660.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: max_connections and standby server  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Somebody refresh my memory as to why we have this restriction (that is,
> slave's max_connections >= master's max_connections) in the first place?
> Seems like it should not be a necessary requirement, and working towards
> getting rid of it would be far better than any other answer.

If you care about max_connections, you might want to care about below as well (from xlog.c)
    RecoveryRequiresIntParameter("max_worker_processes",                                 max_worker_processes,
                      ControlFile->max_worker_processes);    RecoveryRequiresIntParameter("max_prepared_transactions",
                              max_prepared_xacts,                                 ControlFile->max_prepared_xacts);
RecoveryRequiresIntParameter("max_locks_per_transaction",

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: max_connections and standby server
Next
From: Masahiko Sawada
Date:
Subject: Re: [PROPOSAL] VACUUM Progress Checker.