> 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