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 1iRiFv-0008SN-M0 for pgsql-hackers@arkaria.postgresql.org; Mon, 04 Nov 2019 19:43:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iRiFu-0005x5-FG for pgsql-hackers@arkaria.postgresql.org; Mon, 04 Nov 2019 19:43:14 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iRiFu-0005wy-35 for pgsql-hackers@lists.postgresql.org; Mon, 04 Nov 2019 19:43:14 +0000 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iRiFq-0002fS-9l for pgsql-hackers@lists.postgresql.org; Mon, 04 Nov 2019 19:43:12 +0000 Received: by mail-qt1-x842.google.com with SMTP id t8so25751848qtc.6 for ; Mon, 04 Nov 2019 11:43:10 -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=Ebse1vzk9q1YfndXm803lg8A8su/GBXZTtMDcohfMeY=; b=dOCREka2HDibDpXJQqXDQ4QfZa/adUyeoJq+UoCXTvQA+bhO3I/cUy+PEt5Rg124vi +NCXpCSromJJRji0diNSYNu+0pfLTd6kg6NGtURd22uZopo3aVP2q+oKj+2dATuKPRqW W7yFKiSgt5H1ID/lhmHs5WFjTaX5dA6L5JfPfN9MghMWUjZkaR0GqGpYHHGJMoYEGZjy HGxIEFZXPInWUODoWHK4X33VwKZMAZ9nAdbn2R2yU0om/79/35gB+OMa+ERcOpUwijZb qEzndc+xBzBpSCPNVX3UCvuq7ALWWHi7hRo/mTMvtxychgzG2k3/r/miXrXExihfBm2k TfWg== 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=Ebse1vzk9q1YfndXm803lg8A8su/GBXZTtMDcohfMeY=; b=XiZzJhrWXx3TXEj29nLBLYHA/t7slWfSGOMV3Tz5IrAWiNgQL6JjfmQSdnfX4SN/QI BGm1Jt/j1N/qhw3do/hERzoVh/qxW4A65+aYNuVo5XQ9Cinqazpc5hHCnl0LVAEfcDSn ST/E5YCNakZyFOk/brstejNgM6QU+nxPieVC3F/PlOlaB9N7zhBjQ6LFVIQpJFhnQQbC ef7fOlbnPhF6NsKko4WMoNUV1XgIPfJxwidNLX46v5nnjBU/oPsPiI/2TRAYWzHPBhvg 0vsEtWRCExFeFQ19yoYgufcNMlcrFs6RytvTfcyKUUDhDJ4lwbfcM8gp5ac3a6TCxzNw oI6w== X-Gm-Message-State: APjAAAU8VNxixZ+C0X5KG3e/cr0ELl3fYapsCDdCKXnxEG4vdYy5lOxm SHsiWaLQA6NK49c/ICNKwo4/7Q== X-Google-Smtp-Source: APXvYqzM8Xnv+IdLSKBhrC6PZMnF62D1om06+zvjYl4mNQhKiOCwjQYIDc50DwM4+2XTyWR7QEBJ4w== X-Received: by 2002:a0c:c2d3:: with SMTP id c19mr24136569qvi.158.1572896588788; Mon, 04 Nov 2019 11:43:08 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id g83sm8692345qke.100.2019.11.04.11.43.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2019 11:43:08 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 815E83015CB; Mon, 4 Nov 2019 16:43:05 -0300 (-03) Date: Mon, 4 Nov 2019 16:43:05 -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: <20191104194305.GA31740@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <25226.1572895469@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-Nov-04, Tom Lane wrote: > Alvaro Herrera writes: > > Turns out that this is a simple partial cherry-pick of the original > > commit. > > In the back branches, you should keep the statement that stdout > is the default output file. Looks sane otherwise (I didn't test it). I propose this: Specify output file for generated script, or for the listing when used with . Use - for the standard output, which is also the default. Less invasive formulations sound repetitive (such as "Use - for stdout. The default is stdout"). I'm open to suggestions. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services