Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLJpr-0003ON-2w for pgsql-committers@arkaria.postgresql.org; Thu, 15 Jun 2017 01:44:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dLJpq-0000m7-Lp for pgsql-committers@arkaria.postgresql.org; Thu, 15 Jun 2017 01:44: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_2) (envelope-from ) id 1dLJpc-0000MW-3s for pgsql-committers@postgresql.org; Thu, 15 Jun 2017 01:44:20 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dLJpZ-0003sT-FJ; Thu, 15 Jun 2017 01:44:19 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v5F1iFUm025262; Wed, 14 Jun 2017 21:44:15 -0400 From: Tom Lane To: Tatsuo Ishii cc: ishii@postgresql.org, pgsql-committers@postgresql.org Subject: Re: pgsql: Fix document bug regarding read only transactions. In-reply-to: <20170615.104104.1023962800974388504.t-ishii@sraoss.co.jp> References: <24379.1497489711@sss.pgh.pa.us> <20170615.104104.1023962800974388504.t-ishii@sraoss.co.jp> Comments: In-reply-to Tatsuo Ishii message dated "Thu, 15 Jun 2017 10:41:04 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25260.1497491055.1@sss.pgh.pa.us> Date: Wed, 14 Jun 2017 21:44:15 -0400 Message-ID: <25261.1497491055@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Tatsuo Ishii writes: >> I think the correct fix would have been to change "update sequences" >> to "update temporary sequences", not to remove it. > Not sure. The paragraph tries to explain the difference between read > only transactions and standby. Right, but what I think it is comparing is a read-only transaction on the master and a transaction on the standby. The former can do nextval() on temp sequences, the latter can't. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers