Re: v12 and pg_restore -f-

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, "imai(dot)yoshikazu(at)fujitsu(dot)com" <imai(dot)yoshikazu(at)fujitsu(dot)com>, Euler Taveira <euler(at)timbira(dot)com(dot)br>, Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>, Justin Pryzby <pryzby(at)telsasoft(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: v12 and pg_restore -f-
Date: 2019-11-04 14:53:36
Message-ID: 20191104145336.GA23924@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On 2019-Oct-17, Tom Lane wrote:

> Stephen Frost <sfrost(at)snowman(dot)net> 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ravi Krishna 2019-11-04 15:00:27 Re: explain plan difference
Previous Message Tom Lane 2019-11-04 14:45:26 Re: explain plan difference

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2019-11-04 14:56:53 Re: cost based vacuum (parallel)
Previous Message Robert Haas 2019-11-04 14:28:30 Re: auxiliary processes in pg_stat_ssl