Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ckzAM-0007e6-JM for pgsql-committers@arkaria.postgresql.org; Mon, 06 Mar 2017 20:23:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ckzAL-0003YS-UO for pgsql-committers@arkaria.postgresql.org; Mon, 06 Mar 2017 20:23:33 +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_2) (envelope-from ) id 1ckzAL-0003Ux-46 for pgsql-committers@postgresql.org; Mon, 06 Mar 2017 20:23:33 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ckzAI-0008KF-JR; Mon, 06 Mar 2017 20:23:31 +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 v26KNSdg025506; Mon, 6 Mar 2017 15:23:28 -0500 From: Tom Lane To: David Steele cc: Robert Haas , pgsql-committers@postgresql.org Subject: Re: pgsql: Mark pg_start_backup and pg_stop_backup as parallel-restricted. In-reply-to: <3542dfbd-68dd-f246-8fb5-d2ac25d947fc@pgmasters.net> References: <3542dfbd-68dd-f246-8fb5-d2ac25d947fc@pgmasters.net> Comments: In-reply-to David Steele message dated "Mon, 06 Mar 2017 14:41:58 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25504.1488831808.1@sss.pgh.pa.us> Date: Mon, 06 Mar 2017 15:23:28 -0500 Message-ID: <25505.1488831808@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 David Steele writes: > On 3/6/17 12:48 PM, Robert Haas wrote: >> This issue also exists in 9.6, but we obviously can't do anything >> about 9.6 clusters that already exist. Possibly this could be >> back-patched so that future 9.6 clusters would come out OK, or >> possibly we should back-patch some other fix, but that would need more >> discussion. > I think it would be worth back-patching the catalog fix for future 9.6 > clusters as a start. Yes, I think it's rather silly not to do so. We have made comparable backpatched fixes multiple times in the past. What is worth discussing is whether there are *additional* things we ought to do in 9.6 to prevent misbehavior in installations initdb'd pre-9.6.3. If there's a cheap way of testing "AmInParallelWorker", I'd be in favor of adding a quick-n-dirty test and ereport(ERROR) to these functions in the 9.6 branch, so that at least you get a clean error and not some weird misbehavior. Not sure if there's anything more we can do than that. 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