Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TGu5r-00039q-S4 for pgsql-bugs@postgresql.org; Wed, 26 Sep 2012 16:04:12 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TGu5p-0005fN-AP for pgsql-bugs@postgresql.org; Wed, 26 Sep 2012 16:04:11 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1TGu5k-0001wY-UK; Wed, 26 Sep 2012 12:04:04 -0400 Date: Wed, 26 Sep 2012 12:04:04 -0400 From: Bruce Momjian To: Fujii Masao Cc: Heikki Linnakangas , Craig Ringer , petsku@petteriraty.eu, pgsql-bugs@postgresql.org Subject: Re: BUG #7549: max_connections check should query master when starting standby Message-ID: <20120926160404.GD11785@momjian.us> References: <505818AD.9000405@ringerc.id.au> <5058193F.4020402@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.7 (--) X-Archive-Number: 201209/273 X-Sequence-Number: 34267 On Tue, Sep 18, 2012 at 09:09:13PM +0900, Fujii Masao wrote: > On Tue, Sep 18, 2012 at 3:48 PM, Heikki Linnakangas > wrote: > > On 18.09.2012 09:46, Craig Ringer wrote: > >> > >> On 09/18/2012 07:57 AM, Fujii Masao wrote: > >>> > >>> If you change the max_connections on the master, you need to take a > >>> fresh backup from the master and start the standby from it. > >> > >> > >> WTF, really? > > > > > > No. It's enough to bump up max_connections on the standby, and restart. > > Hmm... Petteri wants to solve the issue without changing anything > on the standby, according to his original post. So in his case, a fresh > backup is required. > > Of course my previous answer was confusing... I assume you mean the slave needs an updated copy of the master's config file changes, not an entire copy of the data directory. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +