pgsql: pg_restore: Require "-f -" to mean stdout - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: pg_restore: Require "-f -" to mean stdout
Date
Msg-id E1hC8SW-0000ur-9N@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/413ccaa74d9a126b042727c826e65e2844adadac

Modified Files
--------------
doc/src/sgml/ref/pg_restore.sgml     |  4 ++--
src/bin/pg_dump/pg_backup_archiver.c |  7 ++++++-
src/bin/pg_dump/pg_restore.c         |  9 ++++++++-
src/bin/pg_dump/t/001_basic.pl       | 22 ++++++++++++++--------
4 files changed, 30 insertions(+), 12 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Make queries' locking of indexes more consistent.
Next
From: Tom Lane
Date:
Subject: pgsql: Add a "SQLSTATE-only" error verbosity option to libpq and psql.