pg_restore: Require "-f -" to mean stdout

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 413ccaa74d9a126b042727c826e65e2844adadac
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2019-04-04T19:54:15Z
Releases: 12.0
pg_restore: Require "-f -" to mean stdout

The previous convention that stdout was selected by default when nothing
is specified was just too error-prone.

After a suggestion from Andrew Gierth.
Author: Euler Taveira
Reviewed-by: Yoshikazu Imai, José Arthur Benetasso Villanova
Discussion: https://postgr.es/m/87sgwrmhdv.fsf@news-spur.riddles.org.uk

Files

Documentation touched

Discussion