From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: pg_restore: Require "-f -" to mean stdout |
Date: | 2019-04-04 19:55:36 |
Message-ID: | E1hC8SW-0000ur-9N@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2019-04-04 21:22:10 | pgsql: Add a "SQLSTATE-only" error verbosity option to libpq and psql. |
Previous Message | Tom Lane | 2019-04-04 19:13:12 | pgsql: Make queries' locking of indexes more consistent. |