Re: v12 and pg_restore -f-

Alvaro Herrera <alvherre@2ndquadrant.com>

From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Euler Taveira <euler@timbira.com.br>
Cc: Stephen Frost <sfrost@snowman.net>, Tom Lane <tgl@sss.pgh.pa.us>, "imai.yoshikazu@fujitsu.com" <imai.yoshikazu@fujitsu.com>, Andrew Gierth <andrew@tao11.riddles.org.uk>, Justin Pryzby <pryzby@telsasoft.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-11-04T19:44:19Z
Lists: pgsql-hackers, pgsql-general
On 2019-Nov-04, Euler Taveira wrote:

> Em seg., 4 de nov. de 2019 às 16:12, Alvaro Herrera
> <alvherre@2ndquadrant.com> escreveu:
> > I'm not sure if we need to call out the incompatibility in the minors'
> > release notes (namely, that people using "-f-" to dump to ./- will need
> > to choose a different file name).
> >
> Should we break translations? I'm -0.5 on changing usage(). If you are
> using 9.5, you know that it does not work. If you try it by accident
> (because it works in v12), it will work but it is not that important
> to inform it in --help (if you are in doubt, checking the docs will
> answer your question).

I would rather break the translations, and make all users aware if they
look at --help.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



Commits

  1. Change pg_restore -f- to dump to stdout instead of to ./-