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 1iRdjl-0005My-P3 for pgsql-hackers@arkaria.postgresql.org; Mon, 04 Nov 2019 14:53:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iRdjk-0005MQ-I3 for pgsql-hackers@arkaria.postgresql.org; Mon, 04 Nov 2019 14:53:44 +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 1iRdjk-0005MD-8t for pgsql-hackers@lists.postgresql.org; Mon, 04 Nov 2019 14:53:44 +0000 Received: from mail-qt1-x843.google.com ([2607:f8b0:4864:20::843]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iRdjh-00052z-Al for pgsql-hackers@lists.postgresql.org; Mon, 04 Nov 2019 14:53:43 +0000 Received: by mail-qt1-x843.google.com with SMTP id o11so19216316qtr.11 for ; Mon, 04 Nov 2019 06:53:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=QbCOcWu2LneDUeMo5qlXWRSUSmd8uyUpkVVgbi4M0X8=; b=N447Af7x71KTk/rD5gLEu2eIuFFqZNag/qCpzgmx0CZISa+fjFkjaLbhmSH2qrB8VG GGRb5XPk0r6RAJtRbCpM62EwTwDKJKITH2VmypbwuOPYA/UdkANi2eP94xUc9hPrpHY5 JsJ23CwSb87V037AW5/lDsVVLuzgKaZy+AafOGsll2HOAqxfmbuLR4RV9++gq/VO02Sx 1jGY5kJUB8tpO0qJkyo3FQve1MYSffrqpeKr8NIBmZsmitSpbvUp5XuFRlTfwn4/adxw UrIslE/ednM2sGLxiYbC2771J6ws2K5QdIVwcB+O19aOTwDGoCX/F+6zv0Xs8/PI9fmS CSeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=QbCOcWu2LneDUeMo5qlXWRSUSmd8uyUpkVVgbi4M0X8=; b=EZT/1dDZDQ0IskwF+xxFPBxxaTalTDRW6zLDf/UaC/JRRexV3PSGY5lO4hDBk/aAEX TyRMoR3swPBg82rTLF59fRdEkkkPRPAwFCCNOyCZldmZdzpo/l01Bo+M1juTStF/7mZH +NGehQf1BanMVFTvyTHYNnVbpqvD0UoGJRpSY+L6REcAP/XmNfWF4ULa6p4BrpqiI/Y8 dl3NQWqNi48/UlJp4mNwlPacgf/DX+hMsrlLSOL79HwzsdmWeWSxJK2wo2xqs9G3bVon W9+nokiV6uGyLvqS+uGb2OwXh1+3pEfd9RIUQiqwTk5Fz1mg2aGdP+LX6ieQYdDw5Rv9 4tpA== X-Gm-Message-State: APjAAAXq1bw1Ai67UXlfII92n2R2GC7OtNkNPhzYJ49CdykU9RH5JTil AAE7G/qexgf6Q+MW0JtMqXG9Qg== X-Google-Smtp-Source: APXvYqxTEFvWRmrSWDUiKJojfWV0uC10kbD25Q2GaHDnP+k6Cz8mIoyLwTs8WxcvBfBIg/7yuuo1Ig== X-Received: by 2002:ac8:385d:: with SMTP id r29mr12848420qtb.52.1572879219740; Mon, 04 Nov 2019 06:53:39 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id e17sm9884716qtk.65.2019.11.04.06.53.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2019 06:53:39 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 8936F300B5A; Mon, 4 Nov 2019 11:53:36 -0300 (-03) Date: Mon, 4 Nov 2019 11:53:36 -0300 From: Alvaro Herrera To: Tom Lane Cc: Stephen Frost , "imai.yoshikazu@fujitsu.com" , Euler Taveira , Andrew Gierth , Justin Pryzby , PostgreSQL Hackers Subject: Re: v12 and pg_restore -f- Message-ID: <20191104145336.GA23924@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <19891.1571307850@sss.pgh.pa.us> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Oct-17, Tom Lane wrote: > Stephen Frost writes: > > First, I'd like to clarify what I believe Tom's suggestion is, and then > > talk through that, as his vote sways this topic pretty heavily. > > > Tom, I take it your suggestion is to have '-f -' be accepted to mean > > 'goes to stdout' in all branches? > > Yes. +1 for this, FWIW. Let's get it done before next week minors. Is anybody writing a patch? If not, I can do it. > > If you meant for all branches to accept '-f -' and have it go to a './-' > > file then that's just a revert of this entire change, which I can't > > agree with either > > 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. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services