Re: max_connections and standby server
От | Tatsuo Ishii |
---|---|
Тема | Re: max_connections and standby server |
Дата | |
Msg-id | 20150811.144718.2305257792591832660.t-ishii@sraoss.co.jp обсуждение исходный текст |
Ответ на | Re: max_connections and standby server (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | 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 по дате отправления: