Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iRzp2-0000r4-IH for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Nov 2019 14:28:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iRzp1-0007u1-5Y for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Nov 2019 14:28:39 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1iRzp0-0007ts-TN for pgsql-hackers@lists.postgresql.org; Tue, 05 Nov 2019 14:28:38 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iRzoy-0000ok-7W for pgsql-hackers@lists.postgresql.org; Tue, 05 Nov 2019 14:28:38 +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 xA5ESTxv007898; Tue, 5 Nov 2019 09:28:29 -0500 From: Tom Lane To: Stephen Frost cc: Peter Eisentraut , Alvaro Herrera , "imai.yoshikazu@fujitsu.com" , Euler Taveira , Andrew Gierth , Justin Pryzby , PostgreSQL Hackers Subject: Re: v12 and pg_restore -f- In-reply-to: <20191105141132.GK6962@tamriel.snowman.net> References: <20191104145336.GA23924@alvherre.pgsql> <5e124b1d-bd8f-0659-1088-4952464223bc@2ndquadrant.com> <20191105141132.GK6962@tamriel.snowman.net> Comments: In-reply-to Stephen Frost message dated "Tue, 05 Nov 2019 09:11:32 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <7896.1572964109.1@sss.pgh.pa.us> Date: Tue, 05 Nov 2019 09:28:29 -0500 Message-ID: <7897.1572964109@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Stephen Frost writes: > * Peter Eisentraut (peter.eisentraut@2ndquadrant.com) wrote: >> On 2019-11-04 15:53, Alvaro Herrera wrote: >>>> No, I'm not proposing a full revert. But there's certainly room to >>>> consider reverting the part that says you*must* write "-f -" to get >>>> output to stdout. >>> I don't think this will buy us anything, if we get past branches updated >>> promptly. >> I think we should revert the part that requires using -f - at least for >> PG12. > Absolutely not. This argument could be made, with a great deal more > justification, against the changes to remove recovery.conf, and I'm sure > quite a few other changes that we've made between major versions over > the years, but to do so would be to hamstring our ability to make > progress and to improve PG. In this case, not in the least: we would simply be imposing the sort of *orderly* feature introduction that I thought was the plan from the very beginning [1]. That is, first make "-f -" available, and make it required only in some later version. If we'd back-patched the optional feature back in April, it might've been okay to require it in v12, but we failed to provide any transition period. I'm in favor of making v12 act like the older branches now do, and requiring "-f -" only as of v13. Yeah, the transition will be a little slower, but this feature is not of such huge value that it really justifies breaking scripts with zero notice. regards, tom lane [1] https://www.postgresql.org/message-id/24868.1550106683%40sss.pgh.pa.us