Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLVWW-0002Hs-JR for pgsql-committers@arkaria.postgresql.org; Thu, 15 Jun 2017 14:13:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dLVWW-0007Pq-6B for pgsql-committers@arkaria.postgresql.org; Thu, 15 Jun 2017 14:13:24 +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 1dLVWH-0006Zg-0g for pgsql-committers@postgresql.org; Thu, 15 Jun 2017 14:13:09 +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 1dLVWA-0001Js-BU for pgsql-committers@postgresql.org; Thu, 15 Jun 2017 14:13:08 +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 v5FED0JN031122; Thu, 15 Jun 2017 10:13:00 -0400 From: Tom Lane To: Tatsuo Ishii cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Fix document bug regarding read only transactions. In-reply-to: <20170615.110032.244878105781471727.t-ishii@sraoss.co.jp> References: <24379.1497489711@sss.pgh.pa.us> <20170615.104104.1023962800974388504.t-ishii@sraoss.co.jp> <25261.1497491055@sss.pgh.pa.us> <20170615.110032.244878105781471727.t-ishii@sraoss.co.jp> Comments: In-reply-to Tatsuo Ishii message dated "Thu, 15 Jun 2017 11:00:32 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <31120.1497535980.1@sss.pgh.pa.us> Date: Thu, 15 Jun 2017 10:13:00 -0400 Message-ID: <31121.1497535980@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: >> 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. > But we cannot create temp sequences on stanbys in the first place. > Still do you think there's value to refer to nextval() on temp > sequences here? You're right that the statement is irrelevant in the context of what a standby can or can't do, but what I'm worried about is that someone will read it and believe that it represents the whole truth about what read-only master transactions can do. The previous wording was also irrelevant to the context of a standby, and yet this whole thread exists because somebody complained that it's an inaccurate description of the restrictions on such a master transaction. Well, it's still inaccurate. 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