Re: v12 and pg_restore -f-

Tom Lane <tgl@sss.pgh.pa.us>

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

Well, we'll have to document the addition of the feature.  I think it
can be phrased positively though.

			regards, tom lane



Commits

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