Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TDrcL-0001H7-Jv for pgsql-bugs@postgresql.org; Tue, 18 Sep 2012 06:49:09 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TDrcJ-0005xb-W0 for pgsql-bugs@postgresql.org; Tue, 18 Sep 2012 06:49:09 +0000 Received: from sc9-mailhost1.vmware.com (sc9-mailhost1.vmware.com [10.113.161.71]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id AE95B287C6; Mon, 17 Sep 2012 23:49:06 -0700 (PDT) Received: from zcs-prod-mta-3.vmware.com (zcs-prod-mta-3.vmware.com [10.113.163.65]) by sc9-mailhost1.vmware.com (Postfix) with ESMTP id AA401185B3; Mon, 17 Sep 2012 23:49:06 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by zcs-prod-mta-3.vmware.com (Postfix) with ESMTP id C6D7BE2241; Mon, 17 Sep 2012 23:48:59 -0700 (PDT) X-Virus-Scanned: amavisd-new at zcs-prod-mta-3.vmware.com Received: from zcs-prod-mta-3.vmware.com ([127.0.0.1]) by localhost (zcs-prod-mta-3.vmware.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fJWh0LI-ysuN; Mon, 17 Sep 2012 23:48:59 -0700 (PDT) Received: from [10.113.226.145] (unknown [10.113.160.14]) by zcs-prod-mta-3.vmware.com (Postfix) with ESMTPSA id AA9EFE29EF; Mon, 17 Sep 2012 23:48:58 -0700 (PDT) Message-ID: <5058193F.4020402@vmware.com> Date: Tue, 18 Sep 2012 09:48:31 +0300 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120817 Icedove/10.0.6 MIME-Version: 1.0 To: Craig Ringer CC: Fujii Masao , petsku@petteriraty.eu, pgsql-bugs@postgresql.org Subject: Re: BUG #7549: max_connections check should query master when starting standby References: <505818AD.9000405@ringerc.id.au> In-Reply-To: <505818AD.9000405@ringerc.id.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -7.4 (-------) X-Archive-Number: 201209/185 X-Sequence-Number: 34180 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. - Heikki