Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZMQWx-0005a1-Qb for pgsql-docs@arkaria.postgresql.org; Tue, 04 Aug 2015 00:56:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZMQWw-0001BJ-Q9 for pgsql-docs@arkaria.postgresql.org; Tue, 04 Aug 2015 00:56:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZMQWv-0001BA-Ao for pgsql-docs@postgresql.org; Tue, 04 Aug 2015 00:56:33 +0000 Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZMQWr-0005Mv-5x for pgsql-docs@postgresql.org; Tue, 04 Aug 2015 00:56:31 +0000 Received: by labsr2 with SMTP id sr2so22820249lab.2 for ; Mon, 03 Aug 2015 17:56:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4UZevaL0pNv8G8uSU85tedAbYslfeq9taxd9ci6GWeQ=; b=dhsKOHlOfGPTbrACMImLAIZrzpyQkxEzfD3i85K6vzyB8No1ta6LTcwkCWhFB9pR1L 9IS+OohIScxC/0Djm0Srl9ntYNwPgjBza6chTne9OEjIZnUHUbx/Qc1E8E8rRLczbsYp ZcEPw/Cr7dj1KFs8SCMMIaZvhmGJpS2NGCegUv1PVOy7AU/ZTTHdUpI5D3gShtJR/ijO j+umZiWxB4Ds7dN+Tckb1CCAMuois9dcjNzo4WrBnK8KLLJUs6QUgjDcZE7WhWn5F5R3 SUGZwX2NIENdjJTWfPeaS3F6HDn5AweqU2iXu8SZ5TX14lC1vW+NGwLibGbjEQz4lpAa 6WKw== MIME-Version: 1.0 X-Received: by 10.112.158.70 with SMTP id ws6mr752476lbb.28.1438649787927; Mon, 03 Aug 2015 17:56:27 -0700 (PDT) Received: by 10.112.31.107 with HTTP; Mon, 3 Aug 2015 17:56:27 -0700 (PDT) In-Reply-To: References: <20150715085751.GD2301@postgresql.org> Date: Mon, 3 Aug 2015 20:56:27 -0400 Message-ID: Subject: Re: max_worker_processes on the standby From: Robert Haas To: Fujii Masao Cc: Alvaro Herrera , pgsql-docs Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org On Thu, Jul 16, 2015 at 12:07 AM, Fujii Masao wrote: > One example which makes me a bit confusing is; both master and > standby are running fine with track_commit_timestamp disabled, > then I enable it only on the master. That is, the value of > track_commit_timestamp is not the same between master and standby. > No error happens in this case. According to the code of xlog_redo(), > the commit timestamp tracking mechanism is activated in this case. > However, after that, if standby is restarted, standby emits an error > because the value of track_commit_timestamp is not the same between > master and standby. Simple question is; why do we need to cause > the standby fail in this case? Since I'm not familiar with the code of > track_commit_timestamp yet, I'm not sure whether this behavior is > valid or not. Hmm, that seems like awfully weird behavior. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs