Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zr8fM-0004Kc-PL for pgsql-hackers@arkaria.postgresql.org; Tue, 27 Oct 2015 18:08:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zr8fM-0005eV-Bu for pgsql-hackers@arkaria.postgresql.org; Tue, 27 Oct 2015 18:08:12 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zr8fK-0005cy-Pv; Tue, 27 Oct 2015 18:08:10 +0000 Received: from out.smtp-auth.no-ip.com ([8.23.224.60]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Zr8fH-0003ZJ-Ko; Tue, 27 Oct 2015 18:08:09 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [200.104.52.149]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 3661D400F02; Tue, 27 Oct 2015 11:08:01 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 5114D3847; Tue, 27 Oct 2015 15:07:59 -0300 (CLT) Date: Tue, 27 Oct 2015 15:07:59 -0300 From: Alvaro Herrera To: Robert Haas Cc: Petr Jelinek , Fujii Masao , oonishitk@nttdata.co.jp, pgsql-docs , PostgreSQL-development Subject: Re: [DOCS] max_worker_processes on the standby Message-ID: <20151027180759.GG240637@alvherre.pgsql> References: <20151001181240.GT2573@alvherre.pgsql> <20151002145839.GZ2573@alvherre.pgsql> <20151002185941.GE2573@alvherre.pgsql> <5622BF9D.2010409@2ndquadrant.com> <20151020190522.GT3391@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20151020190522.GT3391@alvherre.pgsql> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Alvaro Herrera wrote: > Robert Haas wrote: > > On Sat, Oct 17, 2015 at 5:37 PM, Petr Jelinek wrote: > > > I agree with that sentiment. > > > > > > Attached patch adds variable to the shmem which is used for module > > > activation tracking - set to true in ActiveCommitTs() and false in > > > DeactivateCommitTs(). All the checks inside the commit_ts code were changed > > > to use this new variable. I also removed the static variable Alvaro added in > > > previous commit because it's not needed anymore. > > > > That sounds good to me. On a quick read-through it looks OK too. > > A revised version is attached. Pushed. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers